Method: rich.pretty._get_attr_fields
Calls: 12, Exceptions: 0, Paths: 1Back
Path 1: 12 calls (1.0)
test_reference_cycle_attrs.
ExampleAttributes (6) FooAttributes (3) BarAttributes (1) PointAttributes (1) NadaAttributes (1)
1def _get_attr_fields(obj: Any) -> Sequence["_attr_module.Attribute[Any]"]:
2 """Get fields for an attrs object."""
3 return _attr_module.fields(type(obj)) if _has_attrs else []