All Questions
5 questions
0
votes
1
answer
1k
views
I want to use "." in message field name of .proto file
I defined .proto file like:
syntax = "proto3";
message networkSliceArray
{
int32 DRB.UEThpDl.SNSSAI = 1;
int32 DRB.UEThpUl.SNSSAI = 2;
string networkSliceIdentifier = 3;
}
I want ...
3
votes
3
answers
2k
views
gRPC/protobuf generated Python files use incorrect import statements
I have a grpc repo included in a python project repo as a submodule at src/grpc/protobuf with the following example structure:
protobuf/
|
|-data_structs/
| |-example_structA.proto
| |-...
2
votes
1
answer
1k
views
How to get header from grpc responce with python
I am trying to get header of the gRPC response with the following code, and it doesn't work:
response = stub.GetAccounts(users_pb2.GetAccountsRequest(), metadata=metadata)
header = response.header()
...
0
votes
1
answer
527
views
How to do client side load-balancing with custom ThreadPool in gRPC?
I have created a grpc python client with round robin load-balancing policy
self.channel = grpc.insecure_channel(self.host,options=[("grpc.lb_policy_name",
...
6
votes
1
answer
4k
views
Reverse engineering .proto files from pb2.py generated with protoc
Is it possible to get proto files from generated pb2.py with protoc? Will be the same reverse engineering possible for gRPC?