We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b91618 commit 4090472Copy full SHA for 4090472
elementary/messages/blocks.py
@@ -113,7 +113,7 @@ class ActionsBlock(BaseBlock):
113
"LineBlock",
114
]
115
116
-LineBlock.model_rebuild()
+LineBlock.update_forward_refs()
117
118
119
class HeaderBlock(BaseBlock):
@@ -184,4 +184,4 @@ class ExpandableBlock(BaseBlock):
184
185
186
# Update forward references for recursive types
187
-ExpandableBlock.model_rebuild()
+ExpandableBlock.update_forward_refs()
elementary/messages/message_body.py
@@ -39,4 +39,4 @@ class MessageBody(BaseModel):
39
id: Optional[str] = None
40
41
42
-MessageBody.model_rebuild()
+MessageBody.update_forward_refs()
0 commit comments