Skip to content

Commit

Permalink
fix ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh authored and gpetretto committed Jun 10, 2024
1 parent 2338552 commit 967e7c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jobflow_remote/jobs/jobcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,9 +1037,9 @@ def _full_rerun(
child_doc_update = get_reset_job_base_dict()
child_doc_update["state"] = JobState.WAITING.value
child_lock.update_on_release = {"$set": child_doc_update}
updated_states[child_doc["uuid"]][
child_doc["index"]
] = JobState.WAITING
updated_states[child_doc["uuid"]][child_doc["index"]] = (
JobState.WAITING
)

# if everything is fine here, update the state of the flow
# before releasing its lock and set the update for the original job
Expand Down

0 comments on commit 967e7c5

Please sign in to comment.