Skip to content

Commit 1832d39

Browse files
committed
change scope to bigquery read only
1 parent 87601ae commit 1832d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dask_bigquery/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def read_gbq(
133133
raise ValueError("No credentials found")
134134

135135
credentials = service_account.Credentials.from_service_account_file(
136-
creds_path, scopes=["https://www.googleapis.com/auth/cloud-platform"]
136+
creds_path, scopes=["https://www.googleapis.com/auth/bigquery.readonly"]
137137
)
138138

139139
auth_req = google.auth.transport.requests.Request()

0 commit comments

Comments
 (0)