class_docstr: Base class for all models.
class_docstr_tok: ["Base","class","for","all","models","."]
docstr: Iterate through fields as `(attribute_name, field_instance)`.
docstr_tok: ["Iterate","through","fields","as","`","(","attribute_name",",","field_instance",")","`","."]
code: def iterate_over_fields(cls):
      """Iterate through fields as `(attribute_name, field_instance)`."""
      for attr in dir(cls):
          clsattr = getattr(cls, attr)
          if isinstance(clsattr, BaseField):
              yield attr, clsattr
  
imports: import six
  from .None import parsers, errors
  from .fields import BaseField
  from .errors import ValidationError
label_desc: Use image node_id 6 for calling the Base obj's underlying member method code with example usage: obj.iterate_over_fields(cls) without return types