Skip to content
Permalink
Browse files
docs: update the description of the return value of `_QueryResults.ro…
…ws()` (#594)

Updated the description of the return value of `rows` to be more accurate.
  • Loading branch information
kdeggelman committed Apr 8, 2021
1 parent be49612 commit 8f4c0b84dac3840532d7865247b8ad94b625b897
Showing with 2 additions and 2 deletions.
  1. +2 −2 google/cloud/bigquery/query.py
@@ -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:
@@ -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)

0 comments on commit 8f4c0b8

Please sign in to comment.