google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

Incorrect method name in BigQuery async example [Documentation Issue]

Open georgegiovanni opened this issue 10 years ago • 1 comments

Page Name: bigquery-usage Release: 0.18.1

In order to execute an async job the docs say the following:

Then, begin executing the job on the server:
>>> job.submit()  # API call
>>> job.created

Executing this code results in: AttributeError: 'QueryJob' object has no attribute 'submit'

The correct method name is begin() not submit().

georgegiovanni avatar Sep 16 '16 19:09 georgegiovanni

@georgegiovanni Thanks for the report!

tseaver avatar Sep 16 '16 20:09 tseaver