2222)
2323
2424
25- class RemoteStore (Store ):
25+ class FsspecStore (Store ):
2626 """
2727 A remote Store based on FSSpec
2828
@@ -61,8 +61,8 @@ class RemoteStore(Store):
6161
6262 See Also
6363 --------
64- RemoteStore .from_upath
65- RemoteStore .from_url
64+ FsspecStore .from_upath
65+ FsspecStore .from_url
6666 """
6767
6868 # based on FSSpec
@@ -96,17 +96,17 @@ def __init__(
9696 if "://" in path and not path .startswith ("http" ):
9797 # `not path.startswith("http")` is a special case for the http filesystem (¯\_(ツ)_/¯)
9898 scheme , _ = path .split ("://" , maxsplit = 1 )
99- raise ValueError (f"path argument to RemoteStore must not include scheme ({ scheme } ://)" )
99+ raise ValueError (f"path argument to FsspecStore must not include scheme ({ scheme } ://)" )
100100
101101 @classmethod
102102 def from_upath (
103103 cls ,
104104 upath : Any ,
105105 read_only : bool = False ,
106106 allowed_exceptions : tuple [type [Exception ], ...] = ALLOWED_EXCEPTIONS ,
107- ) -> RemoteStore :
107+ ) -> FsspecStore :
108108 """
109- Create a RemoteStore from an upath object.
109+ Create a FsspecStore from an upath object.
110110
111111 Parameters
112112 ----------
@@ -120,7 +120,7 @@ def from_upath(
120120
121121 Returns
122122 -------
123- RemoteStore
123+ FsspecStore
124124 """
125125 return cls (
126126 fs = upath .fs ,
@@ -136,9 +136,9 @@ def from_url(
136136 storage_options : dict [str , Any ] | None = None ,
137137 read_only : bool = False ,
138138 allowed_exceptions : tuple [type [Exception ], ...] = ALLOWED_EXCEPTIONS ,
139- ) -> RemoteStore :
139+ ) -> FsspecStore :
140140 """
141- Create a RemoteStore from a URL.
141+ Create a FsspecStore from a URL.
142142
143143 Parameters
144144 ----------
@@ -154,7 +154,7 @@ def from_url(
154154
155155 Returns
156156 -------
157- RemoteStore
157+ FsspecStore
158158 """
159159 try :
160160 from fsspec import url_to_fs
@@ -185,7 +185,7 @@ async def clear(self) -> None:
185185 pass
186186
187187 def __repr__ (self ) -> str :
188- return f"<RemoteStore ({ type (self .fs ).__name__ } , { self .path } )>"
188+ return f"<FsspecStore ({ type (self .fs ).__name__ } , { self .path } )>"
189189
190190 def __eq__ (self , other : object ) -> bool :
191191 return (
0 commit comments