code: def _extend_lock(redis_lock: redis.lock.Lock, redis_timeout: int):
      redis_lock.extend(additional_time=redis_timeout, replace_ttl=True)
  
imports: import functools
  import os
  from logging import getLogger
  from typing import Callable, NamedTuple, Optional
  import redis
  from apscheduler.schedulers.background import BackgroundScheduler
label_desc: Use image node_id 1 for calling a global function with example usage: _extend_lock(redis_lock, redis_timeout) without return types