election_day.utils.election_compound.districts

Module Contents

Functions

get_districts_data(→ onegov.core.types.JSONObject_ro)

Returns the data used by elections compounds for rendering entities and

election_day.utils.election_compound.districts.get_districts_data(compound: ElectionCompound | ElectionCompoundPart, principal: Canton | Municipality, request: ElectionDayRequest | None = None) onegov.core.types.JSONObject_ro[source]

Returns the data used by elections compounds for rendering entities and districts maps.