This repository was archived by the owner on Mar 6, 2026. It is now read-only.
docs(bigquery): Add alternative approach to setting credentials#517
Merged
plamut merged 3 commits intogoogleapis:masterfrom Feb 19, 2021
alanyee:patch-1
Merged
docs(bigquery): Add alternative approach to setting credentials#517plamut merged 3 commits intogoogleapis:masterfrom alanyee:patch-1
plamut merged 3 commits intogoogleapis:masterfrom
alanyee:patch-1
Conversation
Contributor
|
@anguillanneuf Since this is an addition to one of the snippets, could have a quick look at it? Thanks! |
tswast
reviewed
Feb 16, 2021
| ) | ||
|
|
||
| # Alternatively, use service_account.Credentials.from_service_account_info() | ||
| # to set credentials from a json string rather than read from a file |
Contributor
There was a problem hiding this comment.
It's not actually a string, though, right? I thought the "info" function takes a parsed value (dictionary).
Contributor
Author
There was a problem hiding this comment.
Right. I will correct that
Correction: json object rather than string
Contributor
|
Lint is failing: |
plamut
reviewed
Feb 18, 2021
|
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot. |
gcf-merge-on-green bot
pushed a commit
that referenced
this pull request
Feb 25, 2021
🤖 I have created a release \*beep\* \*boop\* --- ## [2.10.0](https://github.com/googleapis/python-bigquery/compare/v2.9.0...v2.10.0) (2021-02-25) ### Features * add BIGNUMERIC support ([#527](https://github.com/googleapis/python-bigquery/issues/527)) ([cc3394f](https://github.com/googleapis/python-bigquery/commit/cc3394f80934419eb00c2029bb81c92a696e7d88)) ### Bug Fixes * error using empty array of structs parameter ([#474](https://github.com/googleapis/python-bigquery/issues/474)) ([c1d15f4](https://github.com/googleapis/python-bigquery/commit/c1d15f4e5da4b7e10c00afffd59a5c7f3ded027a)) * QueryJob.exception() *returns* the errors, not raises them ([#467](https://github.com/googleapis/python-bigquery/issues/467)) ([d763279](https://github.com/googleapis/python-bigquery/commit/d7632799769248b09a8558ba18f5025ebdd9675a)) ### Documentation * **bigquery:** Add alternative approach to setting credentials ([#517](https://github.com/googleapis/python-bigquery/issues/517)) ([60fbf28](https://github.com/googleapis/python-bigquery/commit/60fbf287b0d34d5db2e61cce7a5b42735ed43d0e)) * explain retry behavior for DONE jobs ([#532](https://github.com/googleapis/python-bigquery/issues/532)) ([696c443](https://github.com/googleapis/python-bigquery/commit/696c443f0a6740be0767e12b706a7771bc1460c3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add alternative approach to setting credentials in bigquery in the comments
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕