code: def load_predictor(predictor_dict, name):
      try:
          return dill.loads(predictor_dict["predictor"])
      except Exception as e:
          module_name = str(e).lstrip("No module named '").split("'")[0]
  
          try:
              del sys.modules[module_name]
          except Exception:
              pass
  
          gc.collect()
          _module_from_code(predictor_dict["code"], module_name)
          return dill.loads(predictor_dict["predictor"])
  
file_path: mindsdb/mindsdb/integrations/handlers/lightwood_handler/utils.py
imports: import gc
  import json
  import sys
  import dill
  from lightwood.api.high_level import _module_from_code
label_desc: Use image node_id 2 for calling a global function with example usage: load_predictor(predictor_dict, name) and returns: dill, dill