code: def class_from_module_repr(cls_name, module_repr):
      path = osp.join(gettempdir(), f"{getuser()}_pyg_jit")
      makedirs(path)
      with TempFile(
          mode="w+", suffix=".py", delete=False, dir=path
      ) as f:
          f.write(module_repr)
      spec = spec_from_file_location(cls_name, f.name)
      mod = module_from_spec(spec)
      sys.modules[cls_name] = mod
      spec.loader.exec_module(mod)
      return getattr(mod, cls_name)
  
imports: import sys
  import os.path
  from getpass import getuser
  from tempfile import NamedTemporaryFile, gettempdir
  from importlib.util import module_from_spec, spec_from_file_location
  from torch_geometric.data.makedirs import makedirs
label_desc: Use image node_id 1 for calling a global function with example usage: class_from_module_repr(cls_name, module_repr) and returns: getattr