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 20a35f0 commit 7533d95Copy full SHA for 7533d95
src/zarr/storage/_zep8.py
@@ -317,11 +317,13 @@ def is_zep8_url(url: Any) -> bool:
317
}
318
319
# Check if adapter name looks like a ZEP 8 adapter and is not a standard scheme
320
+ # Exclude Windows drive letters (single letter followed by backslash or forward slash)
321
if (
322
adapter_name
323
and adapter_name.lower() not in standard_schemes
324
and "/" not in adapter_name
325
and "\\" not in adapter_name
326
+ and not (len(adapter_name) == 1 and adapter_name.isalpha() and len(parts) == 2 and (parts[1].startswith("/") or parts[1].startswith("\\")))
327
and (
328
adapter_name.isalnum()
329
or adapter_name.replace("_", "").replace("-", "").isalnum()
0 commit comments