@contextlib.contextmanager
    def acquire(self, key=None, value=None):
        self._acquire(key, value)
        yield
        self._release()
A context manager that allows you to acquire the lock, optionally
dataset/ETHPy150Open gmr/consulate/consulate/api/lock.py/Lock.acquire