code: def to_python(self, data):
          
          if data is None:
              return data
          if self.datatype:
              return self.datatype(data)
          else:
              return data
docs: Convert a data to python format.