election_day.models.vote.ballot_result ====================================== .. py:module:: election_day.models.vote.ballot_result Classes ------- .. autoapisummary:: election_day.models.vote.ballot_result.BallotResult Module Contents --------------- .. py:class:: BallotResult Bases: :py:obj:`onegov.core.orm.Base`, :py:obj:`onegov.core.orm.mixins.TimestampMixin`, :py:obj:`onegov.election_day.models.vote.mixins.DerivedAttributesMixin`, :py:obj:`onegov.election_day.models.vote.mixins.DerivedBallotsCountMixin` The result of a specific ballot. Each ballot may have multiple results. Those results may be aggregated or not. .. py:attribute:: __tablename__ :value: 'ballot_results' .. py:attribute:: id :type: sqlalchemy.Column[uuid.UUID] .. py:attribute:: entity_id :type: sqlalchemy.Column[int] .. py:attribute:: name :type: sqlalchemy.Column[str] .. py:attribute:: district :type: sqlalchemy.Column[str | None] .. py:attribute:: counted :type: sqlalchemy.Column[bool] .. py:attribute:: yeas :type: sqlalchemy.Column[int] .. py:attribute:: nays :type: sqlalchemy.Column[int] .. py:attribute:: empty :type: sqlalchemy.Column[int] .. py:attribute:: invalid :type: sqlalchemy.Column[int] .. py:attribute:: eligible_voters :type: sqlalchemy.Column[int] .. py:attribute:: expats :type: sqlalchemy.Column[int | None] .. py:attribute:: ballot_id :type: sqlalchemy.Column[uuid.UUID] .. py:attribute:: ballot :type: sqlalchemy.orm.relationship[onegov.election_day.models.Ballot]