Skip to content

Commit a3b97ac

Browse files
author
Altay Sansal
committed
Simplify import statement for AsyncFileSystemWrapper in _fsspec.py
1 parent e0999b2 commit a3b97ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/storage/_fsspec.py

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

71-
import fsspec.implementations.asyn_wrapper
71+
from fsspec.implementations.asyn_wrapper import AsyncFileSystemWrapper
7272

73-
return fsspec.implementations.asyn_wrapper.AsyncFileSystemWrapper(fs, asynchronous=True)
73+
return AsyncFileSystemWrapper(fs, asynchronous=True)
7474

7575

7676
class FsspecStore(Store):

0 commit comments

Comments
 (0)