Skip to content

Commit 20d8392

Browse files
committed
fix bad merge
1 parent 04b12d3 commit 20d8392

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/zarr/storage/remote.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,7 @@ def from_url(
131131
-------
132132
RemoteStore
133133
"""
134-
opts = storage_options or {}
135-
opts = {"asynchronous": True, **opts}
136-
137-
fs, path = fsspec.url_to_fs(url, **opts)
138-
139-
# fsspec is not consistent about removing the scheme from the path, so check and strip it here
140-
# https://github.com/fsspec/filesystem_spec/issues/1722
141-
if "://" in path:
142-
_, path = path.split("://", maxsplit=1)
143-
134+
fs, path = fsspec.url_to_fs(url, **storage_options)
144135
return cls(fs=fs, path=path, mode=mode, allowed_exceptions=allowed_exceptions)
145136

146137
async def clear(self) -> None:

0 commit comments

Comments
 (0)