code: def set_value(self, value):
          
  
          if self.data_type == self.BOOLEAN_TYPE:
              self.value_boolean = bool(value)
          elif self.data_type == self.NUMBER_TYPE:
              self.value_number = float(value)
          else:
              self.value = value
docs: Determine the proper value based on the data_type