Skip to content

Commit 2fe9e39

Browse files
author
Jonathan Wayne Parrott
committed
Merge pull request #93 from GoogleCloudPlatform/paging
Add a tag, for a 'paging' sample
2 parents 5664a47 + 05d91a0 commit 2fe9e39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bigquery/samples/sync_query.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def main(project_id, query, timeout, num_retries):
4747
timeout,
4848
num_retries)
4949

50+
# [START paging]
5051
# Page through the result set and print all results.
5152
page_token = None
5253
while True:
@@ -59,6 +60,7 @@ def main(project_id, query, timeout, num_retries):
5960
page_token = page.get('pageToken')
6061
if not page_token:
6162
break
63+
# [END paging]
6264
# [END run]
6365

6466

0 commit comments

Comments
 (0)