Skip to content

Commit

Permalink
docs: Updated the description of the return value of rows
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeggelman committed Apr 7, 2021
1 parent 973e236 commit 2ab1d22
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 2ab1d22

Please sign in to comment.