File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ def __eq__(self, other: Any) -> bool:
8282async def make_store_path (
8383 store_like : StoreLike | None ,
8484 * ,
85- path : str | None = None ,
8685 mode : AccessModeLiteral | None = None ,
8786 storage_options : dict [str , Any ] | None = None ,
8887) -> StorePath :
@@ -105,7 +104,7 @@ async def make_store_path(
105104 result = StorePath (await LocalStore .open (root = store_like , mode = mode or "r" ))
106105 elif isinstance (store_like , str ):
107106 storage_options = storage_options or {}
108- fs , path = fsspec .url_to_fs (store_like , ** storage_options )
107+ fs , _ = fsspec .url_to_fs (store_like , ** storage_options )
109108 if "file" not in fs .protocol :
110109 storage_options = storage_options or {}
111110 result = StorePath (RemoteStore (url = store_like , mode = mode or "r" , ** storage_options ))
@@ -118,8 +117,6 @@ async def make_store_path(
118117 else :
119118 raise TypeError
120119
121- if path is not None :
122- result = result / path
123120 return result
124121
125122
You can’t perform that action at this time.
0 commit comments