code: def __init__(self, label_constraint=None):
      self.spot_set = (
          label_constraint.type_list if label_constraint else list()
      )
      self.role_set = (
          label_constraint.role_list if label_constraint else list()
      )
  
label_desc: Use image node_id 1 to create a new PredictParser object  with example: obj = PredictParser(label_constraint)