From 83f03b4639da2d3812b7899eff94b53934bc5c71 Mon Sep 17 00:00:00 2001 From: Piet Snel Date: Mon, 27 Nov 2023 15:46:51 +0000 Subject: [PATCH] update dependencies Change-Id: I507142e0d7dd42d632f43f0f239012a397e79181 --- core/bigquery.py | 6 +++--- requirements.txt | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/bigquery.py b/core/bigquery.py index 2637269..a073cc1 100644 --- a/core/bigquery.py +++ b/core/bigquery.py @@ -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 @@ -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: diff --git a/requirements.txt b/requirements.txt index c69bd9d..7d5ae06 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 \ No newline at end of file