gnoi
gnoi copied to clipboard
Trying to generate python code for gnoi/system.proto
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?