Skip to content

Commit 128dab2

Browse files
committed
Fix: Add missing description key to RandomElection TypedDict
1 parent 2d73801 commit 128dab2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/tests/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class RandomElection(t.TypedDict):
7777
date_end: t.Optional[str]
7878
date_start: t.Optional[str]
7979
auth_for_result: bool
80+
description: t.Optional[str]
8081

8182

8283
def _random_election(num_candidates: int, num_grades: int) -> RandomElection:
@@ -98,6 +99,7 @@ def _random_election(num_candidates: int, num_grades: int) -> RandomElection:
9899
"num_voters": 0,
99100
"date_end": None,
100101
"auth_for_result": False,
102+
"description": None,
101103
}
102104

103105

0 commit comments

Comments
 (0)