Skip to content

Incorrect method name in BigQuery async example [Documentation Issue]  #2337

Description

@georgegiovanni

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().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions