code: def expand_path(path):
      return os.path.realpath(
          os.path.join(os.path.dirname(__file__), path)
      )
  
imports: import copy
  import os.path
  from pathlib import Path
  from nni.experiment.config import ExperimentConfig
label_desc: Use image node_id 1 for calling a global function with example usage: expand_path(path) and returns: os