Skip to content

Commit

Permalink
fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoLegends committed Sep 23, 2024
1 parent e496821 commit a86c4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sisyphus/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def maybe_clear_state(state, always_clear, action):
self.job_cleaner.start()
return True

def handle_job_failure(self, prev_jobs: Dict[str, List[Job]], cur_jobs: Dict[str, List[Job]]):
def handle_job_failure(self, prev_jobs: Dict[str, List["Job"]], cur_jobs: Dict[str, List["Job"]]):
prev_errored_jobs = set(prev_jobs.get(gs.STATE_ERROR, []))
for job in cur_jobs.get(gs.STATE_ERROR, []):
if job not in prev_errored_jobs:
Expand Down

0 comments on commit a86c4cc

Please sign in to comment.