Skip to main content

review.page.Column

review.page.Column(key, source, name='', value=None)

One column of the export table: where the value of a key of the file comes from.

Attributes

Name Type Description
key str The key of the file; it must be a key of the kind in babregen.review.formats.FIELDS.
source str const (the value below), meta (a MetaField or one of page_sha256, exported_at), item (Item.consts by name) or state (what the person did: an answer or a time, by name).
name str The name inside the source; the key if empty.
value str | int | bool | None The value of a const column.

Examples

from babregen.review.page import Column

print(Column("stage", "const", value="blind"))
Column(key='stage', source='const', name='', value='blind')