Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions elementary/messages/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class ActionsBlock(BaseBlock):
"LineBlock",
]

LineBlock.model_rebuild()
LineBlock.update_forward_refs()


class HeaderBlock(BaseBlock):
Expand Down Expand Up @@ -184,4 +184,4 @@ class ExpandableBlock(BaseBlock):
]

# Update forward references for recursive types
ExpandableBlock.model_rebuild()
ExpandableBlock.update_forward_refs()
2 changes: 1 addition & 1 deletion elementary/messages/message_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ class MessageBody(BaseModel):
id: Optional[str] = None


MessageBody.model_rebuild()
MessageBody.update_forward_refs()
Loading