Skip to content

Commit ab52b8c

Browse files
committed
Move import to the top
1 parent 18bc6f7 commit ab52b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/storage/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import warnings
44
from typing import TYPE_CHECKING, Any
55

6+
from fsspec.implementations.asyn_wrapper import AsyncFileSystemWrapper
67
from zarr.abc.store import ByteRangeRequest, Store
78
from zarr.storage.common import _dereference_path
89

@@ -167,7 +168,6 @@ def from_url(
167168

168169
fs, path = url_to_fs(url, **opts)
169170
if not fs.async_impl:
170-
from fsspec.implementations.asyn_wrapper import AsyncFileSystemWrapper
171171
fs = AsyncFileSystemWrapper(fs)
172172

173173
# fsspec is not consistent about removing the scheme from the path, so check and strip it here

0 commit comments

Comments
 (0)