code: def get_class_contructor(class_location):
      mod_path = class_location[: class_location.rfind(".")]
      class_name = class_location[class_location.rfind(".") + 1 :]
      module = importlib.import_module(mod_path)
      # return class constructor
      return getattr(module, class_name)
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_class_contructor(class_location) and returns: getattr