Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 692 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 692 Bytes

inhouse-grpc

Important

In order to keep codes generated from different protobuf on different folders, the protobuffers should be kept in different folders as well (grpc/grpc#9575 (comment))

Steps

Calculator

To generate server and client python base code from the calculator protobuf:

python -m grpc_tools.protoc -I protobufs --python_out=. --grpc_python_out=. protobufs/calculator/calculator.proto

Dummy Trainer

To generate server and client python base code from dummy trainer protobuf:

python -m grpc_tools.protoc -I protobufs --python_out=. --grpc_python_out=. /protobufs/trainer/dummy_trainer.proto