election_day.models.party_result.party_panachage_result

Classes

PartyPanachageResult

Mixin providing created/modified timestamps for all records.

Module Contents

class election_day.models.party_result.party_panachage_result.PartyPanachageResult[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.TimestampMixin

Mixin providing created/modified timestamps for all records.

The columns are deferred loaded as this is primarily for logging and future forensics.

__tablename__ = 'party_panachage_results'[source]
id: sqlalchemy.Column[uuid.UUID][source]
election_id: sqlalchemy.Column[str | None][source]
election: sqlalchemy.orm.relationship[onegov.election_day.models.ProporzElection | None][source]
election_compound_id: sqlalchemy.Column[str | None][source]
election_compound: sqlalchemy.orm.relationship[onegov.election_day.models.ElectionCompound | None][source]
target: sqlalchemy.Column[str][source]
source: sqlalchemy.Column[str][source]
votes: sqlalchemy.Column[int][source]