def make_channel_creds(ssl_creds, auth_func=auth_func):
    call_creds = implementations.metadata_call_credentials(
        lambda ctx, callback: callback(auth_func(), None))
    return implementations.composite_channel_credentials(ssl_creds, call_creds)
Returns a channel with credentials callback.
dataset/ETHPy150Open GoogleCloudPlatform/cloud-pubsub-samples-python/grpc/pubsub_sample.py/make_channel_creds