BigQuery: Add sample for explicitly creating client from service acco…#2312
Merged
BigQuery: Add sample for explicitly creating client from service acco…#2312
Conversation
shollyman
approved these changes
Aug 5, 2019
Contributor
shollyman
left a comment
There was a problem hiding this comment.
Perhaps the two functions (authenticate and create_client) should be combined?
plamut
pushed a commit
to plamut/python-bigquery
that referenced
this pull request
Jun 25, 2020
…… [(googleapis#2312)](GoogleCloudPlatform/python-docs-samples#2312) * BigQuery: Add sample for explicitly creating client from service account credentials. * Flake8 * Move imports to improve indentation. * Combine auth and client functions. * flake8
plamut
pushed a commit
to plamut/python-bigquery
that referenced
this pull request
Jul 22, 2020
…… [(googleapis#2312)](GoogleCloudPlatform/python-docs-samples#2312) * BigQuery: Add sample for explicitly creating client from service account credentials. * Flake8 * Move imports to improve indentation. * Combine auth and client functions. * flake8
shollyman
pushed a commit
to googleapis/python-bigquery
that referenced
this pull request
Jul 22, 2020
…… [(#2312)](GoogleCloudPlatform/python-docs-samples#2312) * BigQuery: Add sample for explicitly creating client from service account credentials. * Flake8 * Move imports to improve indentation. * Combine auth and client functions. * flake8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…unt credentials.
We got some feedback that we don't show how to use an explicit credentials argument in our BigQuery authentication samples. We prefer using the credentials argument over using the
Client.from_service_account_json, as an explicitcredentialsargument gives a better indication for how to construct a client with other credentials types as well.