Skip to content

Commit

Permalink
Merge pull request #90 from IDEMSInternational/update-models-after-ex…
Browse files Browse the repository at this point in the history
…tracting-data

Update parenttext_models.py
  • Loading branch information
fagiothree authored Jan 29, 2024
2 parents 5746240 + 99b693e commit 22f2106
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/parenttext_pipeline/models/parenttext_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,15 @@ class TimedProgrammeModel(DataRowModel):
class ActivityTypeModel(DataRowModel):
option_name: str = ''

class AgeGroupModel(ParserModel):
baby: str = ''
child: str = ''
teen: str = ''

class ActivityOfferModel(DataRowModel):
activity_handler_flow: str = ''
offer_msg: str = ''
accept: str = ''
accept: AgeGroupModel = AgeGroupModel()
refuse: str = ''
refuse_msg: str = ''
next_offer_msg: str = ''
Expand Down Expand Up @@ -373,10 +378,14 @@ class CongratsDataModel(DataRowModel):
msg: str = ''
extra_msg: str = ''

class MetadataModel(ParserModel):
description: str = ''

class SingleMessageModel(DataRowModel):
msg: str = ''
description: str = ''
next_button_option: str = ''
metadata: MetadataModel = MetadataModel()

####################################
## Menu
class MenuOptionModel(ParserModel):
Expand Down Expand Up @@ -460,6 +469,8 @@ class GoalDataModel(DataRowModel):
priority_t: str = ""
priority_p: str = ""
relationship: List[str] = []
checkin_c: str = ""
checkin_t: str = ""
name_c: Language = Language()
name_t: Language = Language()

Expand Down

0 comments on commit 22f2106

Please sign in to comment.