Skip to content

Commit

Permalink
Update 'QueryResponse.fetch_data' docstring to match changes from goo…
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored and landrito committed Aug 22, 2017
1 parent 5dc6be1 commit e3d71e9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions bigquery/google/cloud/bigquery/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,12 @@ def fetch_data(self, max_results=None, page_token=None, start_index=None,
:param client: the client to use. If not passed, falls back to the
``client`` stored on the current dataset.
:rtype: tuple
:returns: ``(row_data, total_rows, page_token)``, where ``row_data``
is a list of tuples, one per result row, containing only
the values; ``total_rows`` is a count of the total number
of rows in the table; and ``page_token`` is an opaque
string which can be used to fetch the next batch of rows
(``None`` if no further batches can be fetched).
:rtype: :class:`~google.cloud.iterator.Iterator`
:returns: Iterator of row data :class:`tuple`s. During each page, the
iterator will have the ``total_rows`` attribute set,
which counts the total number of rows **in the result
set** (this is distinct from the total number of rows in
the current page: ``iterator.page.num_items``).
:raises: ValueError if the query has not yet been executed.
"""
if self.name is None:
Expand Down

0 comments on commit e3d71e9

Please sign in to comment.