Skip to main content

review.page.Item

review.page.Item(
    id,
    title,
    summary_html='',
    facts_html='',
    skip=(),
    consts=dict(),
)

One thing to answer on a page.

Attributes

Name Type Description
id str Unique, starts with a letter; used as HTML id and in the state.
title str The heading.
summary_html str Always visible, a line or two of context.
facts_html str Visible after the start button; long material belongs in details.
skip tuple[str, …] Keys of questions that are not asked for this item.
consts Mapping[str, str | int | bool] Values for export columns with the source item, and for the keys of Question.differs that are no question.

Examples

from babregen.review.page import Item

print(Item("m1", "Mutant M001").id)
m1