election_day.path

Functions

get_auth(→ onegov.user.Auth)

get_principal(→ onegov.election_day.models.Principal)

get_manage_elections(...)

get_manage_election_compsites(...)

get_manage_votes(...)

get_manage_sms_subscribers(...)

get_manage_email_subscribers(...)

get_manage_upload_tokens(...)

get_manage_data_sources(...)

get_manage_data_source_items(...)

get_election(→ onegov.election_day.models.Election | None)

get_candidate(...)

get_list(→ onegov.election_day.models.List | None)

get_election_compound(...)

get_superregion(...)

get_vote(→ onegov.election_day.models.Vote | None)

get_ballot(→ onegov.election_day.models.Ballot | None)

get_subscriber(...)

get_upload_token(...)

get_data_source(...)

get_data_source_item(...)

get_archive_by_year(...)

get_archive_search(...)

get_locale(→ onegov.core.i18n.SiteLocale | None)

get_manage_screens(...)

get_screen(→ onegov.election_day.models.Screen | None)

Module Contents

election_day.path.get_auth(request: onegov.election_day.request.ElectionDayRequest, to: str = '/') onegov.user.Auth[source]
election_day.path.get_principal(app: onegov.election_day.ElectionDayApp) onegov.election_day.models.Principal[source]
election_day.path.get_manage_elections(app: onegov.election_day.ElectionDayApp, page: int = 0, year: int | None = None) onegov.election_day.collections.ElectionCollection[source]
election_day.path.get_manage_election_compsites(app: onegov.election_day.ElectionDayApp, page: int = 0, year: int | None = None) onegov.election_day.collections.ElectionCompoundCollection[source]
election_day.path.get_manage_votes(app: onegov.election_day.ElectionDayApp, page: int = 0, year: int | None = None) onegov.election_day.collections.VoteCollection[source]
election_day.path.get_manage_sms_subscribers(app: onegov.election_day.ElectionDayApp, page: int = 0, term: str | None = None, active_only: bool | None = None) onegov.election_day.collections.SmsSubscriberCollection[source]
election_day.path.get_manage_email_subscribers(app: onegov.election_day.ElectionDayApp, page: int = 0, term: str | None = None, active_only: bool | None = None) onegov.election_day.collections.EmailSubscriberCollection[source]
election_day.path.get_manage_upload_tokens(app: onegov.election_day.ElectionDayApp) onegov.election_day.collections.UploadTokenCollection[source]
election_day.path.get_manage_data_sources(app: onegov.election_day.ElectionDayApp, page: int = 0) onegov.election_day.collections.DataSourceCollection[source]
election_day.path.get_manage_data_source_items(app: onegov.election_day.ElectionDayApp, id: uuid.UUID, page: int = 0) onegov.election_day.collections.DataSourceItemCollection[source]
election_day.path.get_election(app: onegov.election_day.ElectionDayApp, id: str) onegov.election_day.models.Election | None[source]
election_day.path.get_candidate(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.Candidate | None[source]
election_day.path.get_list(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.List | None[source]
election_day.path.get_election_compound(app: onegov.election_day.ElectionDayApp, id: str) onegov.election_day.models.ElectionCompound | None[source]
election_day.path.get_superregion(app: onegov.election_day.ElectionDayApp, election_compound_id: str, domain: str, id: str) onegov.election_day.models.ElectionCompoundPart | None[source]
election_day.path.get_vote(app: onegov.election_day.ElectionDayApp, id: str) onegov.election_day.models.Vote | None[source]
election_day.path.get_ballot(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.Ballot | None[source]
election_day.path.get_subscriber(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.Subscriber | None[source]
election_day.path.get_upload_token(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.UploadToken | None[source]
election_day.path.get_data_source(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.DataSource | None[source]
election_day.path.get_data_source_item(app: onegov.election_day.ElectionDayApp, id: uuid.UUID) onegov.election_day.models.DataSourceItem | None[source]
election_day.path.get_archive_by_year(app: onegov.election_day.ElectionDayApp, date: str) onegov.election_day.collections.ArchivedResultCollection[source]
election_day.path.get_locale(request: onegov.election_day.request.ElectionDayRequest, app: onegov.election_day.ElectionDayApp, locale: str) onegov.core.i18n.SiteLocale | None[source]
election_day.path.get_manage_screens(app: onegov.election_day.ElectionDayApp, page: int = 0) onegov.election_day.collections.ScreenCollection[source]
election_day.path.get_screen(app: onegov.election_day.ElectionDayApp, number: int) onegov.election_day.models.Screen | None[source]