diff --git a/template/steps/log_metadata.py b/template/steps/log_metadata.py index f762758..53a0e16 100644 --- a/template/steps/log_metadata.py +++ b/template/steps/log_metadata.py @@ -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}