def __init__(self, target, options=None, credentials=None):
options = options if options is not None else ()
self.target = target
self.channel = channel = cygrpc.Channel(
_common.encode(target),
_common.channel_args(_options(options)), credentials)
self.managed_call = _channel_managed_call_management(
_ChannelCallState(channel))
self.connectivity_state = _ChannelConnectivityState(channel)
评论列表
文章目录