From 4d1bfb4188954172848c7ced94e1e9bdc97d7e84 Mon Sep 17 00:00:00 2001 From: Ion Y Date: Sat, 27 Aug 2022 15:17:08 -0700 Subject: [PATCH] Add IDs to ballot measures contests. --- src/electos/ballotmaker/scripts/ballot-lab-data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/electos/ballotmaker/scripts/ballot-lab-data.py b/src/electos/ballotmaker/scripts/ballot-lab-data.py index a7306e1..0ddb5d5 100644 --- a/src/electos/ballotmaker/scripts/ballot-lab-data.py +++ b/src/electos/ballotmaker/scripts/ballot-lab-data.py @@ -213,6 +213,7 @@ def extract_ballot_measure_contest(contest: BallotMeasureContest, index): district = contest_election_district(contest, index) full_text = text_content(contest.full_text) result = { + "id": contest.model__id, "title": contest.name, "type": "ballot measure", "district": district,