diff options
author | 2020-12-28 14:23:54 +0200 | |
---|---|---|
committer | 2020-12-28 14:23:54 +0200 | |
commit | 2a5cf9f6d040ae1914d47b539147a1d76e59d76c (patch) | |
tree | 2fdc8942dcf68f3823342da352ba4f07a3f1f9d6 | |
parent | Fix deployment manifest (diff) |
Add required field to question model
-rw-r--r-- | backend/models/question.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/models/question.py b/backend/models/question.py index 3b98024..7daeb5a 100644 --- a/backend/models/question.py +++ b/backend/models/question.py @@ -12,6 +12,7 @@ class Question(BaseModel): name: str type: str data: dict[str, t.Any] + required: bool class Config: allow_population_by_field_name = True |