class_docstr: Base class for all models.
class_docstr_tok: ["Base","class","for","all","models","."]
code: def __repr__(self):
      attrs = {}
      for name, _ in self:
          try:
              attr = getattr(self, name)
              if attr is not None:
                  attrs[name] = repr(attr)
          except ValidationError:
              pass
  
      return "{class_name}({fields})".format(
          class_name=self.__class__.__name__,
          fields=", ".join(
              "{0[0]}={0[1]}".format(x) for x in sorted(attrs.items())
          ),
      )
  
imports: import six
  from .None import parsers, errors
  from .fields import BaseField
  from .errors import ValidationError
label_desc: Use image node_id 10 for calling the Base obj's underlying member method code with example usage: obj.__repr__() and returns: str