Skip to content

Commit 3e1c8ae

Browse files
committed
fix: address code comment
1 parent 1e0335b commit 3e1c8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/elections/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from enum import Enum
22

3-
from pydantic import BaseModel, Field
3+
from pydantic import BaseModel
44

55

66
class ElectionTypeEnum(str, Enum):
@@ -16,7 +16,7 @@ class ElectionModel(BaseModel):
1616
datetime_start_voting: str
1717
datetime_end_voting: str
1818
available_positions: str
19-
survey_link: str | None = Field(None)
19+
survey_link: str | None = None
2020

2121
class NomineeInfoModel(BaseModel):
2222
computing_id: str

0 commit comments

Comments
 (0)