-
Notifications
You must be signed in to change notification settings - Fork 330
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
Clarification for docs on remove_objects()
API
#1256
Comments
@balamurugana your insight here would be helpful. |
DeleteObjects S3 API enables us to delete multiple objects by limiting to maximum of 1000 objects. In As we |
After My solution was to call
|
Any update? remove_objects seems broken, remove_object is fine. Checked on the same policy which has S3:DeleteObject. |
The implementation is correct and it's working fine as expected. Just make sure to drain the returned iterator. |
https://github.com/minio/minio-py/blob/master/docs/API.md?plain=1#L1473-L1475
As per internal discussion, it's not clear that this API is "lazy" in that it only fires if the user iterates the returned errors.
It also opens a few questions up:
Based on that we should update the docs for this API or any others which require iterating the response to fire (e.g. "lazy API")
The text was updated successfully, but these errors were encountered: