def _SetOwnerId(self, owner_id):
    assert owner_id is not None
    self._unique_id = owner_id
    self.owner_id = owner_id
Set owner_id and asserts that owner_id argument is not None.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/lock.py/Lock._SetOwnerId