code: def default_value(self):
          
          if self.name in tsdb_coded_attributes:
              return tsdb_coded_attributes[self.name]
          elif self.datatype == ':integer':
              return -1
          else:
              return ''
docs: Get the default value of the field.