Skip to content

Commit

Permalink
Fix untyped defs in zarr.sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Apr 14, 2024
1 parent 957b05c commit 59d9d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ module = [
"zarr.hierarchy",
"zarr.indexing",
"zarr.storage",
"zarr.sync",
"tests.*",
]
check_untyped_defs = false
Expand Down
3 changes: 2 additions & 1 deletion src/zarr/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def __getstate__(self):

def __setstate__(self, *args):
# reinitialize from scratch
self.__init__()
self.mutex = Lock()
self.locs = defaultdict(Lock)


class ProcessSynchronizer:
Expand Down

0 comments on commit 59d9d09

Please sign in to comment.