-
Notifications
You must be signed in to change notification settings - Fork 413
Closed
Description
according to this: https://github.com/intake/filesystem_spec/blob/master/fsspec/spec.py#L420 glob should pass extra kwargs to the ls function.
I tried using the details=True flag, but got an exception
import fsspec
fs = fsspec.get_filesystem_class('s3')()
fs.glob('s3://bucket/*', detail=True)
File "fsspec_test.py", line 3, in <module>
fs.glob('s3://bucket/*', detail=True)
File "./lib/python3.7/site-packages/fsspec/spec.py", line 444, in glob
allpaths = self.find(root, maxdepth=depth, **kwargs)
File "./lib/python3.7/site-packages/fsspec/spec.py", line 373, in find
for path, _, files in self.walk(path, maxdepth, **kwargs):
TypeError: walk() got an unexpected keyword argument 'detail'
Metadata
Metadata
Assignees
Labels
No labels