You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2022/09/28 23:15:51 UTC

[beam] branch tvalentyn-patch-1 created (now 9a36f53ad03)

This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a change to branch tvalentyn-patch-1
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 9a36f53ad03 Update auth.py

This branch includes the following new commits:

     new 9a36f53ad03 Update auth.py

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[beam] 01/01: Update auth.py

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch tvalentyn-patch-1
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 9a36f53ad033988b4ba6f06abc7ac4ab37a3cfb9
Author: tvalentyn <tv...@users.noreply.github.com>
AuthorDate: Wed Sep 28 16:15:44 2022 -0700

    Update auth.py
    
    Include the GCP scope when creating a scoped credential token.
---
 sdks/python/apache_beam/internal/gcp/auth.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sdks/python/apache_beam/internal/gcp/auth.py b/sdks/python/apache_beam/internal/gcp/auth.py
index 27a3c40cd4b..57f210ac98c 100644
--- a/sdks/python/apache_beam/internal/gcp/auth.py
+++ b/sdks/python/apache_beam/internal/gcp/auth.py
@@ -45,6 +45,7 @@ executing_project = None
 _LOGGER = logging.getLogger(__name__)
 
 CLIENT_SCOPES = [
+    'https://www.googleapis.com/auth/cloud-platform',
     'https://www.googleapis.com/auth/bigquery',
     'https://www.googleapis.com/auth/cloud-platform',
     'https://www.googleapis.com/auth/devstorage.full_control',