Closed alexei closed 2 years ago
It appears the application ID is optional and the property itself is set conditionally: https://github.com/Vonage/vonage-python-sdk/blob/c577aa7f110f8297fd2a6d66f75179fcdd2f9de8/src/vonage/client.py#L97-L99 But later, when sending a message, the code assumes the property exists: https://github.com/Vonage/vonage-python-sdk/blob/c577aa7f110f8297fd2a6d66f75179fcdd2f9de8/src/vonage/messages.py#L19-L29 Hence the error in the title.
Hi @alexei, thanks for raising this. I'll push a fix and make a patch release 🙂
Have made PR #228. Will close this issue when merged.
👍
It appears the application ID is optional and the property itself is set conditionally: https://github.com/Vonage/vonage-python-sdk/blob/c577aa7f110f8297fd2a6d66f75179fcdd2f9de8/src/vonage/client.py#L97-L99 But later, when sending a message, the code assumes the property exists: https://github.com/Vonage/vonage-python-sdk/blob/c577aa7f110f8297fd2a6d66f75179fcdd2f9de8/src/vonage/messages.py#L19-L29 Hence the error in the title.