Python Protobuf messages
Created at 01 Aug 2023, 11:05
Python Protobuf messages
01 Aug 2023, 11:05
Hello Everyone,
I have been trying to establish a connection using the official Python SDK
I have been able to authenticate and get account details etc using the Openapi docs and https://spotware.github.io/OpenApiPy/authentication/#auth-uri
But I haven't been able to send or receive protobuf messages
def connected(client): # Callback for client connection
print("\nConnected")
request = ProtoOAApplicationAuthReq()
request.clientId = client_id
request.clientSecret = secret
deferred = client.send(request)
Even this throws an error Unresolved reference 'ProtoOAApplicationAuthReq'
Same thing with all messages.
Is there anything that I should be doing before I can handle protobuf requests in python?
Thank you!