-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.0
-
Component/s: None
-
None
Reported on mongodb-user. This is incorrect:
https://github.com/mongodb/mongo-python-driver/blob/master/gridfs/__init__.py#L238-L239
We should be using delete_one on self.__files and delete_many on self.__chunks. Sadly, a multi-chunk delete doesn't seem to be covered in the test suite.