code: def get_cache_dir():
      cache_base_dir = Path(  # noqa: F405
          expandvars(
              expanduser(
                  CLEARML_CACHE_DIR.get()  # noqa: F405
                  or config.get("storage.cache.default_base_dir")
                  or DEFAULT_CACHE_DIR  # noqa: F405
              )
          )
      )
      return cache_base_dir
  
imports: import logging
  import os
  import sys
  from os.path import expandvars, expanduser
  from ..backend_api import load_config
  from ..backend_config import Config
  from ..backend_config.bucket_config import S3BucketConfigurations
  from .defs import *
  from .remote import running_remotely_task_id
  from ..utilities.proxy_object import LazyEvalWrapper
label_desc: Use image node_id 2 for calling a global function with example usage: get_cache_dir() and returns: cache_base_dir