Skip to content

Commit

Permalink
new outputs notation
Browse files Browse the repository at this point in the history
  • Loading branch information
avishniakov authored Oct 10, 2024
1 parent 9a99925 commit 7af7693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/steps/log_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def log_metadata_from_step_artifact(

context = get_step_context()
metadata_dict: Dict[str, Any] = (
context.pipeline_run.steps[step_name].outputs[artifact_name].load()
context.pipeline_run.steps[step_name].outputs[artifact_name][0].load()
)

metadata = {artifact_name: metadata_dict}
Expand Down

0 comments on commit 7af7693

Please sign in to comment.