Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Client' object has no attribute 'jobs' #1287

Closed
vmorozov opened this issue Dec 14, 2015 · 3 comments
Closed

AttributeError: 'Client' object has no attribute 'jobs' #1287

vmorozov opened this issue Dec 14, 2015 · 3 comments
Assignees
Labels
api: bigquery Issues related to the BigQuery API.

Comments

@vmorozov
Copy link

I try to get of list of finished bigquery jobs assuming like https://cloud.google.com/bigquery/docs/reference/v2/jobs/list . Is it correct method?

from gcloud import bigquery
client = bigquery.Client(project='tdi-genome-1')
jobs = client.jobs()
AttributeError: 'Client' object has no attribute 'jobs'

Version info:

print(client._connection_class.USER_AGENT)
gcloud-python/0.8.0
@tseaver
Copy link
Contributor

tseaver commented Dec 14, 2015

PR #1260 will add the client.list_jobs method when it is merged.

@tseaver
Copy link
Contributor

tseaver commented Dec 14, 2015

Oops, sorry. #1260 is the issue for adding the method; #1279 is the PR which will close that issue.

@tseaver
Copy link
Contributor

tseaver commented Dec 16, 2015

Closed via #1279.

@tseaver tseaver closed this as completed Dec 16, 2015
@tseaver tseaver added the api: bigquery Issues related to the BigQuery API. label Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API.
Projects
None yet
Development

No branches or pull requests

2 participants