torchcell.paper.tables.Row

class Row(*, cells: dict[str, str | Cell], section: str | None = None, bold: bool = False)[source]

Bases: BaseModel

One table row. cells maps column header -> display string. section optionally groups rows (a subheading in md, a \multicolumn rule in LaTeX). bold emphasizes the whole row (e.g. a totals footer).

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].