mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-05 07:18:30 +01:00
setup: update fsspec to 2021.6.1 (#6219)
* setup: update fsspec to 2021.6.1 * fs: local: remove temp workaround
This commit is contained in:
+1
-3
@@ -32,9 +32,7 @@ class LocalFileSystem(BaseFileSystem):
|
||||
|
||||
def exists(self, path_info) -> bool:
|
||||
assert isinstance(path_info, str) or path_info.scheme == "local"
|
||||
# NOTE: os.fspath could be removed after fsspec 2021.06.1
|
||||
# https://github.com/intake/filesystem_spec/issues/666
|
||||
return self.fs.exists(os.fspath(path_info))
|
||||
return self.fs.exists(path_info)
|
||||
|
||||
def isfile(self, path_info) -> bool:
|
||||
return os.path.isfile(path_info)
|
||||
|
||||
Reference in New Issue
Block a user