Skip to content

Commit cf965c4

Browse files
committed
Fix docs for 'Client.list_jobs'.
1 parent 5507266 commit cf965c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/bigquery-usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ List jobs for a project:
263263

264264
>>> from gcloud import bigquery
265265
>>> client = bigquery.Client()
266-
>>> jobs = client.jobs() # API request
266+
>>> jobs, token = client.list_jobs() # API request
267267
>>> [(job.job_id, job.type, job.created, job.state) for job in jobs]
268268
['e3344fba-09df-4ae0-8337-fddee34b3840', 'insert', (datetime.datetime(2015, 7, 23, 9, 30, 20, 268260, tzinfo=<UTC>), 'done')]
269269

0 commit comments

Comments
 (0)