code: def __init__(
      self, iid, type_label, base_type, value_type=None, value=None
  ):
      self._hash = None
      self.iid = iid
      self.type_label = type_label
      self.base_type = base_type
  
      # If the thing is an attribute
      self.value_type = value_type
      self.value = value
  
      # TODO Make attribute a separate class
      if self.base_type == "attribute":
          if self.value_type is None:
              raise ValueError("Attribute value_type must be provided")
          if self.value is None:
              raise ValueError("Attribute value must be provided")
  
file_path: typedb-ml/typedb_ml/typedb/thing.py
imports: from typedb.api.concept.type.attribute_type import AttributeType
label_desc: Use image node_id 1 to create a new Thing object  with example: obj = Thing(iid, type_label, base_type, value_type, value)