code: def get_original_cwd() -> str:
      """
      :return: the original working directory the Hydra application was launched from
      """
      if not HydraConfig.initialized():
          raise ValueError(
              "get_original_cwd() must only be used after HydraConfig is initialized"
          )
      ret = HydraConfig.get().runtime.cwd
      assert ret is not None and isinstance(ret, str)
      return ret
  
file_path: hydra/hydra/utils.py
imports: import logging.config
  import os
  from pathlib import Path
  from typing import Any, Callable
  import hydra._internal.instantiate._instantiate2
  import hydra.types
  from hydra._internal.utils import _locate
  from hydra.core.hydra_config import HydraConfig
label_desc: Use image node_id 4 for calling a global function with example usage: get_original_cwd() and returns: ret