mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Bump fsspec version (#6214)
* Bump fsspec version * local: use fsspec 2021.06.0 with a temp hack Co-authored-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
co-authored by
Ruslan Kuprieiev
parent
b7c6df0ece
commit
6e5e62857b
+3
-1
@@ -32,7 +32,9 @@ class LocalFileSystem(BaseFileSystem):
|
||||
|
||||
def exists(self, path_info) -> bool:
|
||||
assert isinstance(path_info, str) or path_info.scheme == "local"
|
||||
return self.fs.exists(path_info)
|
||||
# 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))
|
||||
|
||||
def isfile(self, path_info) -> bool:
|
||||
return os.path.isfile(path_info)
|
||||
|
||||
Reference in New Issue
Block a user