Skip to content

Commit f859a9f

Browse files
committed
actually use credentials in client constructor
1 parent feab922 commit f859a9f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

2020/bigquery-python/user-credentials-magics.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@
6666
"outputs": [],
6767
"source": [
6868
"# Configure a BigQuery client to use your credentials and project.\n",
69-
"bqclient = google.cloud.bigquery.Client()"
69+
"bqclient = google.cloud.bigquery.Client(\n",
70+
" credentials=credentials,\n",
71+
" project=project_id,\n",
72+
")"
7073
]
7174
},
7275
{

0 commit comments

Comments
 (0)