get_model_fields

pyinaturalist.models.get_model_fields(obj)

Add placeholder attributes for lazy-loaded model properties so they get picked up by rich’s pretty-printer. Does not change behavior for anything except BaseModel subclasses.

Return type

Iterable[Attribute]