We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d005ff7 commit 18bc6f7Copy full SHA for 18bc6f7
src/zarr/storage/remote.py
@@ -166,6 +166,9 @@ def from_url(
166
opts = {"asynchronous": True, **opts}
167
168
fs, path = url_to_fs(url, **opts)
169
+ if not fs.async_impl:
170
+ from fsspec.implementations.asyn_wrapper import AsyncFileSystemWrapper
171
+ fs = AsyncFileSystemWrapper(fs)
172
173
# fsspec is not consistent about removing the scheme from the path, so check and strip it here
174
# https://github.com/fsspec/filesystem_spec/issues/1722
0 commit comments