All Questions
Tagged with grpc-python protoc
6 questions
0
votes
1
answer
248
views
Is there any specification on gRPC support guarantees as there is with protobuf?
For protobuf there are these 2 documents detailing for how long a version is supported (maintained) and what it the compatibility between code generated with some version when used with a runtime with ...
1
vote
1
answer
3k
views
ModuleNotFoundError when Importing gRPC pb2 File Generated by Protoc in Python
I'm encountering a ModuleNotFoundError when trying to import a generated gRPC module in Python.
In my project, I have a file structure like this:
from test.api.grpc_test_cases.specific_folder.api_pb2
...
1
vote
1
answer
934
views
How to make protoc include .proto comments in Python
I'm trying to figure out how to make my comments in my .proto file appear in the files generated for Python by protoc.
I have a proto file service.proto.
In it I have added comments on some of the ...
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?
1
vote
1
answer
5k
views
grpc_tools.protoc -> 'Could not make proto path relative'
I want to generate protobuf (pb2) files for Python programmatically using grpc_tools.
With this layout (potentially other languages in parallel to 'python/')
+---gen
+---protos
| phone.proto
|
\-...
6
votes
3
answers
6k
views
How to run grpc-gateway for python
I am grpc rookie and wanted to create a REST endpoint for health check of the grpc server. For this I decided to use grpc gateway.
However, the example in docs for grpc-REST gateway for proxying grpc ...