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]
- election_day.utils.notification.segment_models(elections: collections.abc.Sequence[onegov.election_day.models.Election], election_compounds: collections.abc.Sequence[onegov.election_day.models.ElectionCompound], votes: collections.abc.Sequence[onegov.election_day.models.Vote]) list[ModelGroup] [source]
Group elections, compounds and votes by subscribable notification segmenation.