diff options
author | 2020-12-10 22:00:35 +0200 | |
---|---|---|
committer | 2020-12-10 22:00:35 +0200 | |
commit | bb4b3641f908b0c9e39d1662f7dcfd2b1b634462 (patch) | |
tree | 7daff95d895d9aa56e81bdcd29f9a3c897a56f94 /backend | |
parent | Add form name and description to SCHEMA.md (diff) |
Add name and description fields to Form model
Diffstat (limited to 'backend')
-rw-r--r-- | backend/models/form.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/models/form.py b/backend/models/form.py index a8c5f92..8d7fe9b 100644 --- a/backend/models/form.py +++ b/backend/models/form.py @@ -12,6 +12,8 @@ class Form(BaseModel): id: str = Field(alias="_id") features: t.List[str] questions: t.List[Question] + name: str + description: str class Config: allow_population_by_field_name = True |