Add auth_token support for the grpc client.#681
Merged
theacodes merged 3 commits intoGoogleCloudPlatform:masterfrom Nov 29, 2016
Merged
Add auth_token support for the grpc client.#681theacodes merged 3 commits intoGoogleCloudPlatform:masterfrom
theacodes merged 3 commits intoGoogleCloudPlatform:masterfrom
Conversation
Contributor
Author
|
@jeffmendoza could you help to review it? |
Contributor
|
For python code, I'll defer to @jonparrott or @waprin |
waprin
reviewed
Nov 24, 2016
| if api_key: | ||
| metadata.append(('x-api-key', api_key)) | ||
| if auth_token: | ||
| metadata.append(('authorization', 'Bearer ' + auth_token)) |
Contributor
There was a problem hiding this comment.
Before if there was no API key, metadata was None, now it will be an empty list. I have no idea if this matters or not, but thought I would check
Contributor
Author
There was a problem hiding this comment.
I tested it, passing [] works. It should be the same as passing None.
Contributor
|
Code LGTM with one question, lint is failing on Travis. I am concerned that this directory has 0% test coverage? |
Contributor
|
Definitely fix the lint errors on Travis. |
Contributor
Author
|
Lint errors have been fixed. Test will be added by separate PR. |
theacodes
approved these changes
Nov 29, 2016
Contributor
Author
|
lint errors have been fixed. @jonparrott or @waprin, could you help to review it.? thanks. |
chalmerlowe
pushed a commit
that referenced
this pull request
Apr 7, 2026
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pandas](https://pandas.pydata.org) ([source](https://github.com/pandas-dev/pandas)) | `==1.1.5` -> `==1.3.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pandas](https://pandas.pydata.org) ([source](https://github.com/pandas-dev/pandas)) | `==1.3.4` -> `==1.3.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pandas-dev/pandas</summary> ### [`v1.3.5`](https://github.com/pandas-dev/pandas/releases/v1.3.5) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.3.4...v1.3.5) This is a patch release in the 1.3.x series and includes some regression fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.3.5/whatsnew/v1.3.5.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.3.4`](https://github.com/pandas-dev/pandas/releases/v1.3.4) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.3.3...v1.3.4) This is a patch release in the 1.3.x series and includes some regression fixes and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.3.4/whatsnew/v1.3.4.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.3.3`](https://github.com/pandas-dev/pandas/releases/v1.3.3) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.3.2...v1.3.3) This is a patch release in the 1.3.x series and includes some regression fixes and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.3.3/whatsnew/v1.3.3.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.3.2`](https://github.com/pandas-dev/pandas/releases/v1.3.2) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.3.1...v1.3.2) This is a patch release in the 1.3.x series and includes some regression fixes and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.3.2/whatsnew/v1.3.2.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.3.1`](https://github.com/pandas-dev/pandas/releases/v1.3.1) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.3.0...v1.3.1) This is the first patch release in the 1.3.x series and includes some regression fixes and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.3.1/whatsnew/v1.3.1.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.3.0`](https://github.com/pandas-dev/pandas/releases/v1.3.0) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.2.5...v1.3.0) This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.3.0/whatsnew/v1.3.0.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install -c conda-forge pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.2.5`](https://github.com/pandas-dev/pandas/releases/v1.2.5) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.2.4...v1.2.5) This is a patch release in the 1.2.x series and includes some regression fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.2.5/whatsnew/v1.2.5.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.2.4`](https://github.com/pandas-dev/pandas/releases/v1.2.4) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.2.3...v1.2.4) This is a patch release in the 1.2.x series and includes some regression fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.2.4/whatsnew/v1.2.4.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.2.3`](https://github.com/pandas-dev/pandas/releases/v1.2.3) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.2.2...v1.2.3) This is a patch release in the 1.2.x series and includes some regression fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.2.3/whatsnew/v1.2.3.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.2.2`](https://github.com/pandas-dev/pandas/releases/v1.2.2) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.2.1...v1.2.2) This is a patch release in the 1.2.x series and includes some regression fixes and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.2.2/whatsnew/v1.2.2.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.2.1`](https://github.com/pandas-dev/pandas/releases/v1.2.1) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.2.0...v1.2.1) This is the first patch release in the 1.2.x series and includes some regression fixes and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.2.1/whatsnew/v1.2.1.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). ### [`v1.2.0`](https://github.com/pandas-dev/pandas/releases/v1.2.0) [Compare Source](https://github.com/pandas-dev/pandas/compare/v1.1.5...v1.2.0) This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/1.2.0/whatsnew/v1.2.0.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install -c conda-forge pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://github.com/pandas-dev/pandas/issues). </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-storage).
9 tasks
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.
No description provided.