gnoi icon indicating copy to clipboard operation
gnoi copied to clipboard

Trying to generate python code for gnoi/system.proto

Open tejaskumark opened this issue 6 years ago • 0 comments

I am trying to generate python code for system.proto with below cli,

python -m grpc_tools.protoc --proto_path=/home/user/go/src/ --python_out=. --grpc_python_out=. github.com/openconfig/gnoi/system/system.proto

It creates two files but in different directory structure as below, /home/user/go/src/github.com/openconfig/gnoi/system/system_pb2_grpc.py /home/user/go/src/github/com/openconfig/gnoi/system/system_pb2.py

Also, common_pb2.py and types_pb2.py is not getting created at all.

Is it problem with my CLI execution or there any bug with respect to python code generation?

tejaskumark avatar May 06 '19 11:05 tejaskumark