From 05d91a0c3c12bffc1247eab7a22ca4cf68ef8a17 Mon Sep 17 00:00:00 2001 From: Jerjou Cheng Date: Tue, 15 Sep 2015 14:29:14 -0700 Subject: [PATCH] Add a tag, for a 'paging' sample --- bigquery/samples/sync_query.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bigquery/samples/sync_query.py b/bigquery/samples/sync_query.py index 5c08e2bc6cb..5216e9aca68 100644 --- a/bigquery/samples/sync_query.py +++ b/bigquery/samples/sync_query.py @@ -47,6 +47,7 @@ def main(project_id, query, timeout, num_retries): timeout, num_retries) + # [START paging] # Page through the result set and print all results. page_token = None while True: @@ -59,6 +60,7 @@ def main(project_id, query, timeout, num_retries): page_token = page.get('pageToken') if not page_token: break + # [END paging] # [END run]