From 8d04c79c0a174f8adc4670910a1716703b31c087 Mon Sep 17 00:00:00 2001 From: dip Date: Fri, 14 Feb 2025 16:47:53 +0100 Subject: [PATCH] also strip wasb and wasbs protocol schemes --- adlfs/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adlfs/spec.py b/adlfs/spec.py index 3ce59fb4..99e87ccc 100644 --- a/adlfs/spec.py +++ b/adlfs/spec.py @@ -374,7 +374,7 @@ def _strip_protocol(cls, path: str): STORE_SUFFIX = ".dfs.core.windows.net" logger.debug(f"_strip_protocol for {path}") - if not path.startswith(("abfs://", "az://", "abfss://")): + if not path.startswith(("abfs://", "az://", "abfss://", "wasb://", "wasbs://")): path = path.lstrip("/") path = "abfs://" + path ops = infer_storage_options(path)