code: def _load_module_main(python_file: PurePath):
      module_path = python_file.relative_to(lab.get_path())
      module_path = (
          str(module_path).replace("/", ".").replace(".py", "")
      )
      experiment_module = importlib.import_module(module_path)
      main_func = getattr(experiment_module, "main", None)
      if main_func is None:
          raise ValueError(
              "The experiment should have a function called main, that will be executed."
          )
  
      return main_func
  
file_path: labml/client/labml/internal/manage/process.py
imports: import importlib
  import multiprocessing
  import multiprocessing.connection
  from pathlib import PurePath
  from typing import Dict, Optional
  from labml import lab
  from labml.internal import experiment
label_desc: Use image node_id 1 for calling a global function with example usage: _load_module_main(python_file) and returns: main_func