election_day.models.data_source
Attributes
Classes
Stores the data source of an upload. |
|
Stores the configuration of an auto upload. |
Module Contents
- election_day.models.data_source.UploadType: TypeAlias = Literal['vote', 'proporz', 'majorz'][source]
- class election_day.models.data_source.DataSource[source]
Bases:
onegov.core.orm.Base
,onegov.core.orm.mixins.TimestampMixin
Stores the data source of an upload.
- items: relationship[AppenderQuery[DataSourceItem]][source]
- class election_day.models.data_source.DataSourceItem[source]
Bases:
onegov.core.orm.Base
,onegov.core.orm.mixins.TimestampMixin
Stores the configuration of an auto upload.
- source: relationship[DataSource][source]