@classmethod
    def iterate_over_fields(cls):
        for attr in dir(cls):
            clsattr = getattr(cls, attr)
            if isinstance(clsattr, BaseField):
                yield attr, clsattr
Iterate through fields and values.
dataset/ETHPy150Open beregond/jsonmodels/jsonmodels/models.py/Base.iterate_over_fields