class_docstr: Base class for all models.
class_docstr_tok: ["Base","class","for","all","models","."]
docstr: Explicitly validate all the fields.
docstr_tok: ["Explicitly","validate","all","the","fields","."]
code: def validate(self):
      """Explicitly validate all the fields."""
      for name, field in self:
          try:
              field.validate_for_object(self)
          except ValidationError as error:
              raise ValidationError(
                  "Error for field '{name}'.".format(name=name),
                  error,
              )
  
imports: import six
  from .None import parsers, errors
  from .fields import BaseField
  from .errors import ValidationError
label_desc: Use image node_id 5 for calling the Base obj's underlying member method code with example usage: obj.validate() without return types