Merge pull request #22985 from staticdev/master

Initial module docstring for python _pb2_grpc
pull/23119/head
Lidi Zheng 5 years ago committed by GitHub
commit 3e2513c31a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/compiler/python_generator.cc

@ -777,7 +777,9 @@ pair<bool, grpc::string> PrivateGenerator::GetGrpcServices() {
if (generate_in_pb2_grpc) {
out->Print(
"# Generated by the gRPC Python protocol compiler plugin. "
"DO NOT EDIT!\n");
"DO NOT EDIT!\n\"\"\""
"Client and server classes corresponding to protobuf-defined "
"services.\"\"\"\n");
if (!PrintPreamble(out.get())) {
return make_pair(false, "");
}

Loading…
Cancel
Save