Reported in this github PR:
pymongo.Collection.delete_one returns a DeleteResult object which, among other things, provides the deleted_count attribute telling whether or not anything was actually deleted by the call. However, gridfs.GridFS.delete returns nothing regardless if a document is deleted. This PR changes the behavior of GridFS to more closely follow Collection by returning the DeleteResult from the underlying call to delete the document index.