def auth_func(scoped_creds=SCOPED_CREDS):
    """Returns a token obtained from Google Creds."""
    authn = scoped_creds.get_access_token().access_token
    return [('authorization', 'Bearer %s' + authn)]
dataset/ETHPy150Open GoogleCloudPlatform/cloud-pubsub-samples-python/grpc/pubsub_sample.py/auth_func/operator `%` -> `+`