minio / minio-py

MinIO Client SDK for Python
https://docs.min.io/docs/python-client-quickstart-guide.html
Apache License 2.0
851 stars 325 forks source link

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

Closed dsgibbons closed 11 months ago

dsgibbons commented 1 year ago

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.