From 210a09613da4abf4868a61d107953e072b6af674 Mon Sep 17 00:00:00 2001 From: jfm Date: Thu, 2 May 2024 09:19:06 +0200 Subject: [PATCH] More Optionals --- 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 fa7fee0..ad8948e 100644 --- a/src/mastodon/model/media.py +++ b/src/mastodon/model/media.py @@ -14,7 +14,7 @@ class MetaCoordinates(BaseModel): class Meta(BaseModel): original: MetaData small: MetaData - focus: MetaCoordinates + focus: Optional[MetaCoordinates] class MediaAttachment(BaseModel): media_id: str = Field(alias="id")