election_day.models.election_compound.part
Classes
A part of an election compound. |
Module Contents
- class election_day.models.election_compound.part.ElectionCompoundPart(election_compound: onegov.election_day.models.ElectionCompound, domain: str, segment: str)[source]
Bases:
onegov.election_day.models.election_compound.mixins.DerivedAttributesMixin,onegov.election_day.models.party_result.mixins.PartyResultsCheckMixin,onegov.election_day.models.party_result.mixins.HistoricalPartyResultsMixinA part of an election compound.
Covers a part of an election compound between the domain of the compound and the domain of the elections.
There is no database object behind a part of an election compound, all the results are either taken from the compound (parties) or elections (candidates)-
- date: inherited_attribute[datetime.date][source]
- completes_manually: inherited_attribute[bool][source]
- manually_completed: inherited_attribute[bool][source]