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:
Ruslan Kuprieiev
2021-06-24 10:06:42 +05:45
committed by GitHub
parent 6b13f76fdb
commit 4e792ae61c
2 changed files with 4 additions and 6 deletions
+1 -3
View File
@@ -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)