get_messages
fails if any one of the messages does not fit the specification
#108
Labels
bug
Something isn't working
There are some invalid messages in the Aleph Nodes, in particular PROGRAM messages found on https://api2.aleph.im/api/v0/messages.json?msgType=PROGRAM .
They fail being parsed as
AlephMessage
with eitherKeyError
orpydantic.ValidationError
.With the new aleph-client only manipulating objects, this means that one invalid message fails the entire
get_messages
request.There are multiple ways to handle this:
What do we want to go for ?
The text was updated successfully, but these errors were encountered: