def composite_channel_credentials(channel_credentials, call_credentials): """Compose a ChannelCredentials and a CallCredentials. Args: channel_credentials: A ChannelCredentials. call_credentials: A CallCredentials. Returns: A ChannelCredentials composed of the given ChannelCredentials and CallCredentials. """ return ChannelCredentials( _cygrpc.channel_credentials_composite(channel_credentials._credentials, call_credentials._credentials) )
def composite_channel_credentials(channel_credentials, call_credentials): """Compose a ChannelCredentials and a CallCredentials. Args: channel_credentials: A ChannelCredentials. call_credentials: A CallCredentials. Returns: A ChannelCredentials composed of the given ChannelCredentials and CallCredentials. """ return ChannelCredentials( _cygrpc.channel_credentials_composite(channel_credentials._credentials, call_credentials._credentials))
def channel(channel_credentials, call_credentialses): return cygrpc.channel_credentials_composite( channel_credentials, _call(call_credentialses))
def channel(channel_credentials, call_credentialses): return cygrpc.channel_credentials_composite(channel_credentials, _call(call_credentialses))