From d31d9225c51bc376912d78d254013001ddf8c4f1 Mon Sep 17 00:00:00 2001 From: jfm Date: Thu, 2 May 2024 09:11:02 +0200 Subject: [PATCH] Making text_url optional --- src/mastodon/model/media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mastodon/model/media.py b/src/mastodon/model/media.py index f44da00..fa7fee0 100644 --- a/src/mastodon/model/media.py +++ b/src/mastodon/model/media.py @@ -21,7 +21,7 @@ class MediaAttachment(BaseModel): media_type: str = Field(alias="type") url: str preview_url: str - text_url: str + text_url: Optional[str] meta: Meta description: Optional[str] blurhash: str