Skip to content

Commit

Permalink
Update google/cloud/bigquery/table.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
tswast and parthea authored Dec 8, 2023
1 parent f08dac3 commit a376bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/bigquery/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -2997,7 +2997,7 @@ def _rows_page_start(iterator, page, response):
page._columns = _row_iterator_page_columns(iterator._schema, response)

total_rows = response.get("totalRows")
# Don't reset total_rows is it's not present in the next API response.
# Don't reset total_rows if it's not present in the next API response.
if total_rows is not None:
iterator._total_rows = int(total_rows)

Expand Down

0 comments on commit a376bd6

Please sign in to comment.