docs: def to_python(self, value, resource):
          """Converts to unicode if `self.encoding != None`, otherwise returns input without attempting to decode"""
  
          if value is None:
              return self._transform(value)
  
          if isinstance(value, six.text_type):
              return self._transform(value)
  
          if self.encoding is None and isinstance(value, (six.text_type, six.binary_type)):
              return self._transform(value)
  
          if self.encoding is not None and isinstance(value, six.binary_type):
              return self._transform(value.decode(self.encoding))
  
          return self._transform(six.text_type(value))