code: def get_types():
      classes = map(data_types.__dict__.get, data_types.__all__)
      types = []
      for cls in classes:
          if hasattr(cls, "_log_type") and cls._log_type is not None:
              types.append(cls._log_type)
      # add table-file type because this is a special case
      # that does not have a matching _log_type for artifacts
      # and files
      types.append("table-file")
      return types
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_types() and returns: types