Skip to content

Commit

Permalink
Annotate WorkerState variable instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Dec 9, 2020
1 parent a41ccbc commit 3d493a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4657,6 +4657,7 @@ def decide_worker(self, ts: TaskState):
"""
Decide on a worker for task *ts*. Return a WorkerState.
"""
ws: WorkerState
valid_workers: set = self.valid_workers(ts)

if (
Expand Down

0 comments on commit 3d493a6

Please sign in to comment.