code: def load_config(config_path: str) -> Any:
      with open(config_path) as f:
          config = util.safe_load_yaml_with_exceptions(f)
      return config
  
imports: import os
  from pathlib import Path
  from typing import Any, Dict, List, Union
  from determined.common import api, util
  from determined.common.api import authentication
label_desc: Use image node_id 9 for calling a global function with example usage: load_config(config_path) and returns: config