def release_all(self):
    '\n        Release all locks held by owner\n        '
    self.collection.delete_many({'owner': self.owner})
Release all locks held by owner
def release_all(self):
    '\n        \n        '
    self.collection.delete_many({'owner': self.owner})