Skip to content

Commit

Permalink
fix: select args directly from state.ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Jan 3, 2024
1 parent 3e12acd commit cea9f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/src/core/workflows/WorkflowExecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def _prepare_pipeline(self):

# Persist each arg to files in the pipeline file system
arg_value_file_repo = self.container.load("ArgValueFileRepository")
for key in self.state.ctx.pipeline.args:
for key in self.state.ctx.args:
arg_value_file_repo.save(
self.state.ctx.pipeline.args_dir + key,
self.state.ctx.pipeline.args[key].value
Expand Down

0 comments on commit cea9f37

Please sign in to comment.