RubricEntry

Contents

RubricEntry#

class rapidtools.gui.RubricEntry(value: str, title: str = '', description: str = '', indicators: list[str] = <factory>)[source]#

Bases: object

Description of one class of the primary categorical field.

Variables:
  • value (str) – The option this entry explains ('2').

  • title (str) – Short name ('Partial Structural Combustion').

  • description (str) – What the class means.

  • indicators (list[str]) – Visual cues that identify it, one per bullet.

Example

>>> RubricEntry('4', 'Complete Combustion', indicators=['Only ash']).value
'4'