ReportField#

class lsst.images.ReportField(label, value, unit=None, repr_value=None, role=FieldRole.ARG, positional=False)#

Bases: object

A single labeled value in a Report.

Parameters:
  • label (str)

  • value (Any)

  • unit (str | None, default: None)

  • repr_value (str | None, default: None)

  • role (FieldRole, default: <FieldRole.ARG: 'arg'>)

  • positional (bool, default: False)

Attributes Summary

positional

If True, repr emits the value positionally (no label=).

repr_value

Eval-ish fragment used in repr; defaults to repr(value).

role

Where this field appears (FieldRole).

unit

Unit rendered after the value, if any.

Attributes Documentation

positional: bool = False#

If True, repr emits the value positionally (no label=).

repr_value: str | None = None#

Eval-ish fragment used in repr; defaults to repr(value).

role: FieldRole = 'arg'#

Where this field appears (FieldRole).

unit: str | None = None#

Unit rendered after the value, if any.

This page was last modified on .