aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2017-04-13 16:23:10 -0700
committerGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2017-04-13 23:27:58 -0700
commitb575394351209239b754b99b3839ba4c799fc831 (patch)
tree2091d12e906b838a01f4f3c522a5c288bb1320ac /src/python
parent3bcf8d7091b9e1ea3d6a4022a04f45cc7b94e719 (diff)
Use _pb2_grpc module to access gRPC entities
Diffstat (limited to 'src/python')
-rw-r--r--src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py b/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py
index c58cb3ecf1..cd896f32c3 100644
--- a/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py
+++ b/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py
@@ -56,7 +56,7 @@ def _file_descriptor_response(descriptor):
file_descriptor_proto=(serialized_proto,)),)
-class ReflectionServicer(reflection_pb2.ServerReflectionServicer):
+class ReflectionServicer(reflection_pb2_grpc.ServerReflectionServicer):
"""Servicer handling RPCs for service statuses."""
def __init__(self, service_names, pool=None):