Skip to content

Commit d4d2256

Browse files
committed
Always use asynchronous=True in _make_async
1 parent 3ae719b commit d4d2256

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/zarr/storage/_fsspec.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ def _make_async(fs: AbstractFileSystem) -> AsyncFileSystem:
6868
"2024.12.0 or later to enable this functionality."
6969
)
7070

71-
if fsspec_version > parse_version("2025.2.0"):
72-
return fsspec.implementations.asyn_wrapper.AsyncFileSystemWrapper(fs, asynchronous=True)
73-
else:
74-
return fsspec.implementations.asyn_wrapper.AsyncFileSystemWrapper(fs)
71+
return fsspec.implementations.asyn_wrapper.AsyncFileSystemWrapper(fs, asynchronous=True)
7572

7673

7774
class FsspecStore(Store):

0 commit comments

Comments
 (0)