Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/cloud/bigquery/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ def total_rows(self):
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#body.QueryResponse.FIELDS.total_rows

Returns:
Optional[int}: Count generated on the server (None until set by the server).
Optional[int]: Count generated on the server (None until set by the server).
"""
total_rows = self._properties.get("totalRows")
if total_rows is not None:
Expand Down Expand Up @@ -858,7 +858,7 @@ def rows(self):

Returns:
Optional[List[google.cloud.bigquery.table.Row]]:
Fields describing the schema (None until set by the server).
Rows containing the results of the query.
"""
return _rows_from_json(self._properties.get("rows", ()), self.schema)

Expand Down