Skip to content

Commit

Permalink
fix regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Sep 27, 2021
1 parent 85dc2ed commit 2728850
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion distributed/_ipython_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def remote_magic(line, cell=None):


# cache clients for re-use in remote magic
remote_magic._clients: dict[str, BlockingKernelClient] = {}
remote_magic._clients = {} # type: ignore


def register_remote_magic(magic_name="remote"):
Expand Down
2 changes: 1 addition & 1 deletion distributed/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2585,7 +2585,7 @@ async def gather_dep(
("busy-gather", worker, to_gather_keys, stimulus_id, time())
)

recommendations = {}
recommendations: dict[TaskState, str | tuple] = {}
deps_to_iter = self.in_flight_workers.pop(worker)

for d in deps_to_iter:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
except ImportError:
setup_requires.append("cython")

_, _, params = cython_arg.partition("=")
params = params.split(",")
_, _, params_str = cython_arg.partition("=")
params = params_str.split(",")
profile = "profile" in params
if "annotate" in params:
import Cython.Compiler.Options
Expand Down

0 comments on commit 2728850

Please sign in to comment.