Skip to content

Commit

Permalink
apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Peschel committed Dec 8, 2023
1 parent 1933d34 commit 1619bb0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/jobflow/core/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,12 @@ def prepare_replace(
# add a job with same UUID as the current job to store the outputs of the
# flow; this job will inherit the metadata and output schema of the current
# job
new_config = JobConfig(resolve_references=False, on_missing_references=OnMissing.NONE)
store_output_job = Job(store_inputs, function_args=(replace.output,), config=new_config)
new_config = JobConfig(
resolve_references=False, on_missing_references=OnMissing.NONE
)
store_output_job = Job(
store_inputs, function_args=(replace.output,), config=new_config
)
store_output_job.set_uuid(current_job.uuid)
store_output_job.index = current_job.index + 1
store_output_job.metadata = current_job.metadata
Expand Down

0 comments on commit 1619bb0

Please sign in to comment.