Fix Python reflection arguments

pull/11306/head
Ken Payson 8 years ago
parent 35766734e8
commit f3bb34935d
  1. 2
      src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py

@ -152,4 +152,4 @@ def enable_server_reflection(service_names, server, pool=None):
pool: DescriptorPool object to use (descriptor_pool.Default() if None).
"""
reflection_pb2_grpc.add_ServerReflectionServicer_to_server(
ReflectionServicer(service_names), server, pool)
ReflectionServicer(service_names, pool), server)

Loading…
Cancel
Save