Added project to BQ client instantiation (#285)

This commit is contained in:
Ivan Cheung
2022-02-16 16:27:08 -05:00
committed by GitHub
parent cb4145e2b6
commit f05ca4d06a
4 changed files with 6 additions and 6 deletions
@@ -657,7 +657,7 @@
"def get_dataframe(bq_table: str, output_data_path: OutputPath(\"Dataset\")):\n",
" from google.cloud import bigquery\n",
"\n",
" bqclient = bigquery.Client()\n",
" bqclient = bigquery.Client(project=PROJECT_ID)\n",
" table = bigquery.TableReference.from_string(bq_table)\n",
" rows = bqclient.list_rows(table)\n",
" dataframe = rows.to_dataframe(\n",