code: def make_redis_key(file_path: str, unique_id: Optional[str]):
      basename_without_ext = os.path.splitext(
          os.path.basename(file_path)
      )[0]
      return f"{basename_without_ext}_{unique_id}"
  
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 9 for calling a global function with example usage: make_redis_key(file_path, unique_id) and returns: basename_without_ext, str, unique_id