Now with the ability to handle multiple custom question in the data export
This commit is contained in:
@@ -41,12 +41,11 @@ class Event_Exhibit_Tracking_Base(BaseModel):
|
||||
|
||||
exhibitor_notes: Optional[str]
|
||||
responses_json: Optional[Json] # NOTE: Responses to custom questions
|
||||
# responses_json: Json = [{'test': ''}] # NOTE: Responses to custom questions
|
||||
# responses_json: Optional[Json] = Field(
|
||||
# default_factory = lambda:[{'test': ''}]
|
||||
# )
|
||||
data_json: Optional[Json]
|
||||
# data_json: Optional[str]
|
||||
# Example:
|
||||
# {"5_years": {"response": "I see myself in 5 years doing something."}, "colors": {"response": "green"}}
|
||||
# {"example_text": {"response": "This is an example of an text answer."}, "example_option_list": {"response": "no"}, "the_code": {"response": "yes"}, "question_everything": {"response": "tomorrow"}, "pre_assesment": {"response": "yes"}}
|
||||
|
||||
data_json: Optional[Json] # NOTE: Additional data
|
||||
|
||||
enable: Optional[bool]
|
||||
hide: Optional[bool]
|
||||
|
||||
Reference in New Issue
Block a user