election_day.utils.election_compound.districts
Functions
|
Returns the data used by elections compounds for rendering entities and |
Module Contents
- 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.