class_docstr: A shared, distributed Lock. Using Redis for locking allows the Lock
  to be shared across processes and/or machines.
  
  It's left to the user to resolve deadlock issues and make sure
  multiple clients play nicely together.
class_docstr_tok: ["A","shared",",","distributed","Lock",".","Using","Redis","for","locking","allows","the","Lock","to","be","shared","across","processes","and\/or","machines",".","It","'s","left","to","the","user","to","resolve","deadlock","issues","and","make","sure","multiple","clients","play","nicely","together","."]
docstr: Releases the already acquired lock
docstr_tok: ["Releases","the","already","acquired","lock"]
code: def release(self) -> Awaitable[None]:
      """Releases the already acquired lock"""
      expected_token = self.local.token
      if expected_token is None:
          raise LockError("Cannot release an unlocked lock")
      self.local.token = None
      return self.do_release(expected_token)
  
file_path: catboost/contrib/python/redis/py3/redis/asyncio/lock.py
imports: import asyncio
  import threading
  import uuid
  from types import SimpleNamespace
  from typing import TYPE_CHECKING, Awaitable, Optional, Union
  from redis.exceptions import LockError, LockNotOwnedError
label_desc: Use image node_id 3 for calling the Lock obj's underlying member method code with example usage: obj.release() and returns: self