code: def _load_cls(module_path: str, cls_name: str) -> Any:
      """Loads the python class.
  
      Args:
          module_path: path to the module
          cls_name: name of the class
  
      Returns:
          Loaded python class
      """
  
      module_path_fixed = module_path
      if module_path_fixed.endswith(".py"):
          module_path_fixed = module_path_fixed[:-3]
      module_path_fixed = module_path_fixed.replace("/", ".")
  
      module = importlib.import_module(module_path_fixed)
      module = importlib.reload(module)
      rreload(module)
      module = importlib.reload(module)
  
      assert hasattr(
          module, cls_name
      ), "{} file should contain {} class".format(module_path, cls_name)
  
      cls = getattr(module, cls_name)
  
      return cls
  
file_path: h2o-llmstudio/llm_studio/src/utils/config_utils.py
imports: import dataclasses
  import importlib
  from types import ModuleType
  from typing import Any, Dict, List, Type
  import yaml
  from llm_studio.python_configs.base import DefaultConfigProblemBase
  from llm_studio.src.utils.type_annotations import KNOWN_TYPE_ANNOTATIONS
label_desc: Use image node_id 2 for calling a global function with example usage: _load_cls(module_path, cls_name) and returns: cls