|
|
@ -45,7 +45,6 @@ int protoc_main(int argc, char* argv[]) { |
|
|
|
|
|
|
|
|
|
|
|
// gRPC Python
|
|
|
|
// gRPC Python
|
|
|
|
grpc_python_generator::GeneratorConfiguration grpc_py_config; |
|
|
|
grpc_python_generator::GeneratorConfiguration grpc_py_config; |
|
|
|
grpc_py_config.beta_package_root = "grpc.beta"; |
|
|
|
|
|
|
|
grpc_python_generator::PythonGrpcGenerator grpc_py_generator(grpc_py_config); |
|
|
|
grpc_python_generator::PythonGrpcGenerator grpc_py_generator(grpc_py_config); |
|
|
|
cli.RegisterGenerator("--grpc_python_out", &grpc_py_generator, |
|
|
|
cli.RegisterGenerator("--grpc_python_out", &grpc_py_generator, |
|
|
|
"Generate Python source file."); |
|
|
|
"Generate Python source file."); |
|
|
|