From 050b3989f08596439e259c03144b7dd88fa24930 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Fri, 10 Jan 2020 17:04:17 -0800 Subject: [PATCH] Make pytype happy --- src/python/grpcio/grpc/experimental/aio/_channel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/python/grpcio/grpc/experimental/aio/_channel.py b/src/python/grpcio/grpc/experimental/aio/_channel.py index f9997272f68..7fad676fef7 100644 --- a/src/python/grpcio/grpc/experimental/aio/_channel.py +++ b/src/python/grpcio/grpc/experimental/aio/_channel.py @@ -240,8 +240,7 @@ class Channel: Returns: A ChannelConnectivity object. """ result = self._channel.check_connectivity_state(try_to_connect) - return _common.CYGRPC_CONNECTIVITY_STATE_TO_CHANNEL_CONNECTIVITY.get( - result) + return _common.CYGRPC_CONNECTIVITY_STATE_TO_CHANNEL_CONNECTIVITY[result] async def wait_for_state_change( self,