We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4242aa3 commit abdb760Copy full SHA for abdb760
src/aleph/sdk/client/http.py
@@ -467,3 +467,5 @@ async def get_message_status(self, item_hash: str) -> MessageStatus:
467
if resp.status == HTTPNotFound.status_code:
468
raise MessageNotFoundError(f"No such hash {item_hash}")
469
resp.raise_for_status()
470
+ result = await resp.json()
471
+ return MessageStatus(result["status"])
0 commit comments