aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/python_generator.h
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-03-14 00:01:35 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2017-03-14 03:36:29 +0000
commit40d55f9dac7c732e568a2d0a559d15d74f8fde6e (patch)
tree117b19373aba1f911e4fc4316bbb6b686159a01f /src/compiler/python_generator.h
parent37bbbd770f3131cf5edbc1201d343320440897af (diff)
Add import prefix to Python generator
This is needed by a customer with a nontraditional codebase.
Diffstat (limited to 'src/compiler/python_generator.h')
-rw-r--r--src/compiler/python_generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/python_generator.h b/src/compiler/python_generator.h
index 6a95255d40..b91059fad7 100644
--- a/src/compiler/python_generator.h
+++ b/src/compiler/python_generator.h
@@ -45,7 +45,10 @@ namespace grpc_python_generator {
struct GeneratorConfiguration {
GeneratorConfiguration();
grpc::string grpc_package_root;
+ // TODO(https://github.com/grpc/grpc/issues/8622): Drop this.
grpc::string beta_package_root;
+ // TODO(https://github.com/google/protobuf/issues/888): Drop this.
+ grpc::string import_prefix;
};
class PythonGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {