betty.content_builders.raspberry_mint_presences module

The presences content plugin.

final class betty.content_builders.raspberry_mint_presences.Presences

Bases: Template, DataManufacturable[PresencesData], Manufacturable

People’s presences at an event.

The raspberry-mint-presences content builder plugin.

Plugin ID

raspberry-mint-presences

Class

Presences

Configuration

PresencesData

__init__(*, include: Iterable[ResolvablePluginId[RoleDefinition]] | None = None, jinja: Environment)
async build_template(document: Document) TemplateBuild

Build template data.

Return a template name, a tuple of a template name and template date to render it. Return None to prevent anything from being rendered at all.

new = <betty.requirement._RequirableDecorator object>
classmethod new_data_cls() type[PresencesData]

The object’s defined data class.

final class betty.content_builders.raspberry_mint_presences.PresencesData

Bases: Data, HasProps

Configuration for betty.content_builders.raspberry_mint_presences.Presences.

betty.content_builders.raspberry_mint_presences:PresencesData
__init__(*, include: Iterable[ResolvablePluginId[RoleDefinition]] | None = None, exclude: Iterable[ResolvablePluginId[RoleDefinition]] | None = None)
exclude

The presence roles for which to exclude presences.

include

The presence roles for which to include presences.