@gen.engine
  def ReleaseLock(self, callback):
    if self._lock is not None:
      yield gen.Task(self._lock.Release, self._client)
      self._lock = None
    callback()
Release _lock if not None.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/job.py/Job.ReleaseLock