Skip to content

Commit 8f4c0b8

Browse files
authored
docs: update the description of the return value of _QueryResults.rows() (#594)
Updated the description of the return value of `rows` to be more accurate.
1 parent be49612 commit 8f4c0b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/bigquery/query.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def total_rows(self):
815815
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#body.QueryResponse.FIELDS.total_rows
816816
817817
Returns:
818-
Optional[int}: Count generated on the server (None until set by the server).
818+
Optional[int]: Count generated on the server (None until set by the server).
819819
"""
820820
total_rows = self._properties.get("totalRows")
821821
if total_rows is not None:
@@ -858,7 +858,7 @@ def rows(self):
858858
859859
Returns:
860860
Optional[List[google.cloud.bigquery.table.Row]]:
861-
Fields describing the schema (None until set by the server).
861+
Rows containing the results of the query.
862862
"""
863863
return _rows_from_json(self._properties.get("rows", ()), self.schema)
864864

0 commit comments

Comments
 (0)