Hi Folks, I’m currently moved from chirpstack-api version 3.12.4 to chirpstack-api 4.6.0 version facing an
Issue:
from chirpstack_api import api
client = api.GatewayServiceStub(channel)
auth_token = [(“authorization”, “Bearer %s” % api_token)]
req = api.StreamGatewayFramesRequest()
req.gateway_id = id
frame_stream = client.StreamFrameLogs(req,metadata=auth_token)
(Pdb) n AttributeError: ‘GatewayServiceStub’ object has no attribute ‘StreamFrameLogs’
When I checked in the api lib of gateway the above methods and constructs are deprecated.
OLD CHIRPSTACK API LIB
In master/python/src/chirpstack_api/as_pb/external/api/gateway_pb2.py
_STREAMGATEWAYFRAMELOGSREQUEST._serialized_start=3495
_STREAMGATEWAYFRAMELOGSREQUEST._serialized_end=3557
NEW 4.6.0 CHIRPSTACK API LIB
The below are not in new version.
_STREAMGATEWAYFRAMELOGSREQUEST._serialized_start=3495
_STREAMGATEWAYFRAMELOGSREQUEST._serialized_end=3557
Can you give pointers to resolve this dependency!!
Thanks in advance.