Make pytype happy

pull/21621/head
Lidi Zheng 5 years ago
parent 0afc05cef5
commit 050b3989f0
  1. 3
      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,

Loading…
Cancel
Save