swissvotes.app
¶
Module Contents¶
Classes¶
The swissvotes application. Include this in your onegov.yml to serve |
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class swissvotes.app.SwissvotesApp[source]¶
Bases:
onegov.core.Framework
,onegov.form.FormApp
,onegov.quill.QuillApp
,onegov.file.DepotApp
,onegov.user.UserApp
The swissvotes application. Include this in your onegov.yml to serve it with onegov-server.
- get_cached_dataset(format: Literal[csv]) str [source]¶
- get_cached_dataset(format: Literal[xlsx]) bytes
Gets or creates the dataset in the requested format.
We store the dataset using the last modified timestamp - this way, we have a version of past datasets. Note that we don’t delete any old datasets.