election_day.utils.election_compound.candidates
Classes
Functions
Returns the elected candidates of an election compound.  | 
|
  | 
Module Contents
- class election_day.utils.election_compound.candidates.ElectedCandidateRow[source]
 Bases:
NamedTuple
- election_day.utils.election_compound.candidates.get_elected_candidates(election_compound: onegov.election_day.models.ElectionCompound | onegov.election_day.models.ElectionCompoundPart, session: sqlalchemy.orm.Session) sqlalchemy.orm.Query[ElectedCandidateRow][source]
 Returns the elected candidates of an election compound.
- election_day.utils.election_compound.candidates.get_candidate_statistics(election_compound: onegov.election_day.models.ElectionCompound | onegov.election_day.models.ElectionCompoundPart, elected_candidates: collections.abc.Iterable[ElectedCandidateRow] | None = None) dict[str, CandidateStatistics][source]