Skip to content
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

fix remove_objects() example to convert map to list of map #1311

Merged
merged 4 commits into from
Nov 19, 2023

Conversation

dsgibbons
Copy link
Contributor

Minio.remove_objects expects a list of DeleteObjects, but the documentation uses a map. If a map is passed to Minio.remove_objects, it will silently fail, and the objects will not be deleted. This PR corrects the documentation to pass a list instead of a map to Minio.remove_objects.

minio/api.py Outdated Show resolved Hide resolved
@balamurugana balamurugana changed the title Fixed: Convert map to list before calling Minio.remove_objects in example fix remove_objects() example to convert map to list of map Nov 19, 2023
@harshavardhana harshavardhana merged commit b8ecf63 into minio:master Nov 19, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants