election_day.utils.notification
Attributes
Classes
Functions
|
Group elections, compounds and votes by subscribable notification |
Module Contents
- election_day.utils.notification.DomainSubset: TypeAlias = Literal['canton', 'municipality'] | None[source]
- class election_day.utils.notification.ModelGroup[source]
Bases:
NamedTuple
- election_compounds: Sequence[ElectionCompound][source]
- election_day.utils.notification.segment_models(elections: Sequence[Election], election_compounds: Sequence[ElectionCompound], votes: Sequence[Vote]) list[ModelGroup] [source]
Group elections, compounds and votes by subscribable notification segmenation.