-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prefix option of S3FileSystem.find() doesn't work #684
Comments
Please post an example of the call you are making, what you expect and what you get instead. If this is in the form of a test function, even better! |
I was using this function for filter files with prefix, but however when I call this now,
Thank you! |
@rlamy ; probably a consequence of the directory iterator that the prefix got lost? Perhaps you have a little time to have a look. |
@martindurant I couldn't reproduce the issue. I also don't really see how the |
I suggested because iterdict was the last to touch the code affecting this functionality. @nkwook , do you think you can format your code in the style of one of our tests (i.e., no environment variasbles and having explicitly set up the files you expect to search though) - it should fail against the mock moto server just the same as against AWS. I am also now trying it and am NOT seeing a problem.
|
Hello, im using s3fs in python 3.11
prefix
parameter ofhttps://s3fs.readthedocs.io/en/latest/api.html#s3fs.core.S3FileSystem.find seems not working.
Even the API needs to return filtered file name list, it just returns all filenames on the folder.
Thank you in advance.
The text was updated successfully, but these errors were encountered: