Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Nov 23, 2023
1 parent 6ccaa87 commit f8012ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aleph_message/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8012ac

Please sign in to comment.