diff --git a/datalab/context/_utils.py b/datalab/context/_utils.py index c7c87081a..d34e248ab 100644 --- a/datalab/context/_utils.py +++ b/datalab/context/_utils.py @@ -29,6 +29,7 @@ # that the user can define for themselves which scopes they want to use. CREDENTIAL_SCOPES = [ 'https://www.googleapis.com/auth/cloud-platform', + 'https://www.googleapis.com/auth/drive', ] diff --git a/google/datalab/utils/_utils.py b/google/datalab/utils/_utils.py index 522ca13eb..9f14e5684 100644 --- a/google/datalab/utils/_utils.py +++ b/google/datalab/utils/_utils.py @@ -138,6 +138,7 @@ def gcs_copy_file(source, dest): # that the user can define for themselves which scopes they want to use. CREDENTIAL_SCOPES = [ 'https://www.googleapis.com/auth/cloud-platform', + 'https://www.googleapis.com/auth/drive', ]