From fd827c96493c1cfd6e75640a8e86aa21adc9eff8 Mon Sep 17 00:00:00 2001 From: jfm Date: Tue, 30 Apr 2024 17:03:35 +0200 Subject: [PATCH] Recursive Status model --- .coverage | Bin 53248 -> 53248 bytes src/mastodon/model/status.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.coverage b/.coverage index 9f1c199c0df520adc830414894586429c9ff7aed..6d2ccce792b79511534d38a6d4b006c191d81608 100644 GIT binary patch delta 433 zcmYL@IZFdk6oqF^GBfYpgG2>R7jwH2z z7WglW znZY2CRPccpJm3yDxW*X@IKn=5v4wSHkd%dEhy-A$Rt@^!{XUWxQD=Zx2*3CIHj`I9 zJ1BczqtB^W=ias}%>MfHE(d&8g;}a7Y)|RHp78H9XxNjF7a?+4Qv-^*>~xcKCE>r4 Qt|Z+yOdYzy#o6uXH@aARfdBvi delta 409 zcmYk0yDtP$6o<#m+#NG>?>Qcc2C>;rK~N}IuMos55uMm#vr5?&c03a7s+7o0beKj* zLZ)GpT|_IP^cSoSjYlEI8S(1Q`F_8g?_^yq>uSe(cNln5!91>F8$81)EJ74iQ4o%3 z;t%|gC%y8rALjKlG@p*Aoq5lXu}B!uQSc3) z@E-5*8m};iCwPFnxQ!c_L5JMq7%c_8#H@hMS0f~70?|^+1Hy~GVc9fQ*?W24uM1g0 rY85RrVCKiWf8HfeHYYSdR~lQjbZrGacYiueBqxoFfb5{m-SmF~>)>}W diff --git a/src/mastodon/model/status.py b/src/mastodon/model/status.py index e345247..18ef4a3 100644 --- a/src/mastodon/model/status.py +++ b/src/mastodon/model/status.py @@ -26,7 +26,7 @@ class Status(BaseModel): muted: bool bookmarked: bool content: str - reblog: Optional[dict] + reblog: Optional["Status"] # application: Optional[Application] account: Account media_attachments: List