Allow Python interop client to be configured for EmptyCall (#26804)

pull/26807/head
Lidi Zheng 3 years ago committed by GitHub
parent 176c77f52d
commit 6134f4ed5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio_tests/tests_py3_only/interop/xds_interop_client.py

@ -327,7 +327,7 @@ class _XdsUpdateClientConfigureServicer(
context: grpc.ServicerContext
) -> messages_pb2.ClientConfigureResponse:
logger.info("Received Configure RPC: %s", request)
method_strs = (_METHOD_ENUM_TO_STR[t] for t in request.types)
method_strs = [_METHOD_ENUM_TO_STR[t] for t in request.types]
for method in _SUPPORTED_METHODS:
method_enum = _METHOD_STR_TO_ENUM[method]
channel_config = self._per_method_configs[method]

Loading…
Cancel
Save