From f8012ac85fc224fd9587d5278e32441f1a699601 Mon Sep 17 00:00:00 2001 From: mhh Date: Thu, 23 Nov 2023 09:24:14 +0100 Subject: [PATCH] Fix typing --- aleph_message/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleph_message/models/__init__.py b/aleph_message/models/__init__.py index c763907..6130800 100644 --- a/aleph_message/models/__init__.py +++ b/aleph_message/models/__init__.py @@ -298,7 +298,7 @@ class ProgramMessage(BaseMessage): content: ProgramContent @classmethod - def parse_obj(cls, obj: Dict) -> "AlephContentType": + def parse_obj(cls, obj: Dict) -> "ProgramMessage": obj = add_item_content_and_hash(obj, factory=ProgramContent) return super().parse_obj(obj)