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