filesystem_spec
filesystem_spec copied to clipboard
DirFileSystem.ls() has `detail=True` as default
In the DirFileSystem implementation, the detail parameter is set to True by default (see here and here) whereas for other implementations like LocalFileSystem, it is set to False (see here). This makes it so that ls() will give a list of dictionaries instead of a list of strings. Can we set that parameter to False by default so it has the expected behavior?
Pinging @efiop and @lucmos since you two coded up the DirFileSystem I think. Thanks for putting that together!
Yes, we would like to aim for consistency across the implementations. I suspect this particular argument may be inconsistent in more places than the one you noticed.
Oh interesting, I see that the AbstractFileSystem sets detail=True by default, so I guess the cleanup should go in the other direction...maybe LocalFileSystem and others should change theirs to detail=True
Not super related, but is there a plan to add another release soon? I'd love to use DirFileSystem in an internal app at work but it's hard without a release. Thanks!
In theory, we can release whenever we have accumulated enough new stuff or something critical comes up. It doesn't cost me too. much effort. We've been doing one or two releases a month.
@martindurant Any updates on when a new release might come out? Still really looking forward to using DirFileSystem in a project. Thanks in advance!!
On PyPI now
woohoo, thank you!!