code: def _type_convert(self, value):
          
          if value is None:
              return value
  
          try:
              return datetime.datetime.strptime(value, '%Y-%m-%d %H:%M:%S')
          except ValueError:
              pass
  
          try:
              return int(value)
          except ValueError:
              pass
  
          try:
              return decimal.Decimal(value)
          except decimal.InvalidOperation:
              pass
  
          return value
docs: Converts the value returned by the XMl parse into the equivalent
          Python type