From 3d493a6a04fd790a93e3e7a7826d05849940e11d Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Tue, 8 Dec 2020 17:17:22 -0800 Subject: [PATCH] Annotate `WorkerState` variable instance --- distributed/scheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/distributed/scheduler.py b/distributed/scheduler.py index 68bb7feb4c..8e124586f7 100644 --- a/distributed/scheduler.py +++ b/distributed/scheduler.py @@ -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 (