fsspec / filesystem_spec

A specification that python filesystems should adhere to.
BSD 3-Clause "New" or "Revised" License
1.05k stars 362 forks source link

WholeFileCacheSystem.ls() does not allow **kwargs (like refresh) #1737

Open Danferno opened 1 month ago

Danferno commented 1 month ago

Is there a reason WholeFileCacheSystem.ls() does not allow **kwargs such as refresh, whereas SimpleCacheFileSystem does?

martindurant commented 1 month ago

Passing through kwargs sounds like the right thing to do. Simplecache gets far more use than WholeFile, most people don't end up needing the metadata tracking.