Skip to content

Commit

Permalink
Update parenttext_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fagiothree committed Apr 5, 2024
1 parent d3077bb commit 68d766b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/parenttext_pipeline/models/parenttext_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@

###########################################
#general
class VariableModel(DataRowModel):
class VariableModel(ParserModel):
name: str = ''
value: str = ''

class AttachmentModel(ParserModel):
file_type: str = ''
url: str = ''

###################################################################
class IntroductionBlockModel(ParserModel):
msg_list: List[str] = []
Expand Down Expand Up @@ -426,6 +430,7 @@ class MetadataModel(ParserModel):
class SingleMessageModel(DataRowModel):
msg: str = ''
next_button_option: str = ''
attachment: AttachmentModel = AttachmentModel()
metadata: MetadataModel = MetadataModel()

####################################
Expand Down

0 comments on commit 68d766b

Please sign in to comment.