code: def delete_one(self, *args, **kwargs):
          
          result = self.collection.delete_one(*args, **kwargs)
          return result.raw_result
docs: Run the pymongo delete_one command against the default database and collection
          and return the deleted IDs.