code: def from_fields(cls, fields: List):
      instance = cls.__new__(cls)
      instance.fields = fields
      return instance
  
imports: from typing import List
  from slicer import Alias
  from slicer import Obj
label_desc: Use image node_id 1 for calling the Component obj's underlying member method code with example usage: obj.from_fields(cls, fields) and returns: instance