fix oversight from refactor

pull/397/head
halcy 2025-02-14 01:54:33 +02:00
rodzic 1867e13b88
commit 120f092ca2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -466,7 +466,7 @@ class AttribAccessDict(OrderedStrDict):
# Note for developers: This means type MUST be set before meta. fortunately, we can enforce this via
# the type hints (assuming that the order of annotations is not changed, which python does not guarantee,
# if it ever does: we'll have to add another hack to the constructor)
from return_types import MediaAttachment
from mastodon.return_types import MediaAttachment
if type(self) == MediaAttachment and key == "type":
self.__union_specializer = val