in chz/validators.py [0:0]
def _find_original_definitions(instance: Any) -> dict[str, tuple[Field, type]]:
"""Find the original field definitions in the parent classes of the instance."""
assert chz.is_chz(instance)
fields = {}
for cls in reversed(type(instance).__mro__):
if not chz.is_chz(cls):
continue
for field in chz.chz_fields(cls).values():
if field.logical_name not in fields:
fields[field.logical_name] = (field, cls)
return fields