swissvotes.path
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents
- swissvotes.path.get_principal(app: onegov.swissvotes.app.SwissvotesApp) onegov.swissvotes.models.Principal [source]
- swissvotes.path.get_auth(request: onegov.swissvotes.request.SwissvotesRequest, to: str = '/') onegov.user.Auth [source]
- swissvotes.path.get_locale(app: onegov.swissvotes.app.SwissvotesApp, locale: str) onegov.core.i18n.SiteLocale | None [source]
- swissvotes.path.get_votes(app: onegov.swissvotes.app.SwissvotesApp, page: int = 0, from_date: date | None = None, to_date: date | None = None, legal_form: list[int] | None = None, result: list[int] | None = None, policy_area: list[str] | None = None, term: str | None = None, full_text: bool | None = None, position_federal_council: list[int] | None = None, position_national_council: list[int] | None = None, position_council_of_states: list[int] | None = None, sort_by: str | None = None, sort_order: str | None = None) onegov.swissvotes.collections.SwissVoteCollection [source]
- swissvotes.path.get_vote(app: onegov.swissvotes.app.SwissvotesApp, bfs_number: str, term: str | None = None) onegov.swissvotes.models.SwissVote | None [source]
- swissvotes.path.get_attachment(app: onegov.swissvotes.app.SwissvotesApp, id: str) onegov.swissvotes.models.SwissVoteFile | None [source]
- swissvotes.path.get_pages(app: onegov.swissvotes.app.SwissvotesApp) onegov.swissvotes.collections.TranslatablePageCollection [source]