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

Implement bigquery auth using pydata_google_auth #1728

Closed
wants to merge 7 commits into from

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Mar 14, 2019

Also allow project_id and dataset_id to be optional

Closes #1583

@cpcloud cpcloud added this to the 1.0.0 milestone Mar 14, 2019
@cpcloud cpcloud added bigquery ux User experience related issues labels Mar 14, 2019
@cpcloud
Copy link
Member Author

cpcloud commented Mar 14, 2019

@tswast Can you review this when you get a chance?

ibis/bigquery/api.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@tswast tswast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auth changes LGTM.

You could potentially allow passing in additional scopes in case folks want to do federated queries to Google Sheets, but they can always call pydata_google_auth themselves and pass in the scopes they need in that case. I think defaulting to just the BigQuery scope is the right choice.

@tswast
Copy link
Collaborator

tswast commented Mar 14, 2019

Looking at this, I'm realizing I should pull some of the auth how-to stuff from pandas-gbq over to the pydata-google-auth docs so that it can be a central resource for Ibis and pandas to link to.

I've filed pydata/pydata-google-auth#19 to track that. I can follow-up with a PR to the Ibis docs once I get that in place.

ibis/bigquery/api.py Show resolved Hide resolved
@cpcloud cpcloud closed this in eb3c98c Mar 17, 2019
@cpcloud cpcloud deleted the gh-1583 branch March 17, 2019 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ux User experience related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants