Report#
- class lsst.images.Report(type_name, title=None, summary=None, fields=<factory>, tables=<factory>, value_groups=<factory>, children=<factory>, inline=False)#
Bases:
objectA renderer-agnostic description of an object.
- Parameters:
type_name (
str)fields (
list[ReportField], default:<factory>)tables (
list[ReportTable], default:<factory>)value_groups (
list[ReportValueGroup], default:<factory>)inline (
bool, default:False)
Attributes Summary
If
True, render as a singlekey: summaryline when embedded as a child of another report, instead of a nested branch.Optional one-line hint used by
__str__.Optional headline shown above the fields.
Methods Summary
to_repr()Return a
reprstring built from the fields whose role feedsrepr.to_str()Return a compact one-line summary.
Attributes Documentation
-
inline:
bool= False# If
True, render as a singlekey: summaryline when embedded as a child of another report, instead of a nested branch.
Methods Documentation
- to_repr()#
Return a
reprstring built from the fields whose role feedsrepr.- Return type:
Notes
Reports with no such fields describe objects that cannot be rebuilt from a string, such as those wrapping an AST mapping. Those get the angle-bracket form Python uses for objects whose
repris descriptive, rather than an empty call that would claim an eval-ability they do not have.