election_day.models.election.list_result

Classes

ListResult

The election result of a list in a single political entity.

Module Contents

class election_day.models.election.list_result.ListResult[source]

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

The election result of a list in a single political entity.

__tablename__ = 'list_results'[source]
id: sqlalchemy.Column[uuid.UUID][source]
votes: sqlalchemy.Column[int][source]
election_result_id: sqlalchemy.Column[uuid.UUID][source]
election_result: sqlalchemy.orm.relationship[onegov.election_day.models.ElectionResult][source]
list_id: sqlalchemy.Column[uuid.UUID][source]
list: sqlalchemy.orm.relationship[onegov.election_day.models.List][source]