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.
docstr: Resets a TTL of an already acquired lock back to a timeout value.
docstr_tok: ["Resets","a","TTL","of","an","already","acquired","lock","back","to","a","timeout","value","."]
code: def reacquire(self) -> bool:
      """
      Resets a TTL of an already acquired lock back to a timeout value.
      """
      if self.local.token is None:
          raise LockError(
              "Cannot reacquire an unlocked lock", lock_name=self.name
          )
      if self.timeout is None:
          raise LockError(
              "Cannot reacquire a lock with no timeout",
              lock_name=self.name,
          )
      return self.do_reacquire()
  
imports: import threading
  import time
  import uuid
  from types import SimpleNamespace, TracebackType
  from typing import Optional, Type
  from redis.exceptions import LockError, LockNotOwnedError
  from redis.typing import Number
label_desc: Use image node_id 13 for calling the Lock obj's underlying member method code with example usage: obj.reacquire() and returns: self