Support asyncio interop client

pull/23203/head
Richard Belleville 4 years ago
parent 0eabc3ec74
commit 892cfd883e
  1. 2
      src/python/grpcio_tests/tests_aio/interop/client.py

@ -30,7 +30,7 @@ _LOGGER.setLevel(logging.DEBUG)
def _create_channel(args):
target = f'{args.server_host}:{args.server_port}'
if args.use_tls or args.use_alts:
if args.use_tls or args.use_alts or args.custom_credentials_type is not None:
channel_credentials, options = interop_client_lib.get_secure_channel_parameters(
args)
return aio.secure_channel(target, channel_credentials, options)

Loading…
Cancel
Save