code: def _sp_type(self, key, value):
          
          try:
              field_type = self._disp_cols[key]['type']
              if field_type in ['Number', 'Currency']:
                  return value
              elif field_type == 'DateTime':
                  return value.strftime('%Y-%m-%d %H:%M:%S')
              elif field_type == 'Boolean':
                  if value == 'Yes':
                      return '1'
                  elif value == 'No':
                      return '0'
                  else:
                      raise Exception("%s not a valid Boolean Value, only 'Yes' or 'No'" % value)
              elif field_type == 'User':
                  return self.users['py'][value]
              else:
                  return value
          except AttributeError:
              return value
docs: Returns proper type from the schema