Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
Change-Id: I507142e0d7dd42d632f43f0f239012a397e79181
  • Loading branch information
psnelG committed Nov 27, 2023
1 parent d0acb50 commit 83f03b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __post_init__(self) -> None:
def build_table_metadata(full_table_id: str) -> TableMetadata:
"""
Builds a TableMetadata object from a BigQuery full table ID,
i.e. project_id.dataset_id.table_name
i.e. project_id.dataset_id.table_name.
Args:
* full_table_id: BigQuery full table ID
Expand Down Expand Up @@ -293,8 +293,8 @@ def upload_rows(bq_legacy_client: BigQueryLegacyClient,
* List of errors, if any
"""
if len(rows) > 0:
result = bq_legacy_client.insert_rows_json(table_metadata.full_table_id,
rows)
result = bq_legacy_client.insert_rows_json(
table_metadata.full_table_id, rows)
# result is empty if no errors occurred
for row in result:
# Note:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Flask-Pydantic==0.11.0
functions-framework==3.2.0
functions-wrapper==1.0.2
google-auth==2.11.1
google-cloud-bigquery==3.3.2
google-cloud-bigquery==3.13.0
google-cloud-bigquery-storage==2.16.0
pyarrow>=14.0.1
pydantic==1.10.2
typing_extensions==4.3.0
Werkzeug==2.2.2

0 comments on commit 83f03b4

Please sign in to comment.