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

Revert "feat: send quota project id in x-goog-user-project for OAuth2 credentials" #407

Merged
merged 1 commit into from
Dec 11, 2019

Conversation

busunkim96
Copy link
Contributor

Reverts #400

In addition to a comment on the original PR, folks have filed issue #405. Credentials pickled with the previous class definition (with no quota project) cannot be correctly unpickled. Many official docs pages have code to pickle credentials files, so we should make sure this use case is not broken.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 10, 2019
@busunkim96 busunkim96 requested a review from tswast December 10, 2019 22:14
@busunkim96 busunkim96 merged commit 25ea942 into master Dec 11, 2019
@busunkim96 busunkim96 deleted the revert-400-add-quota-project branch December 11, 2019 21:39
@tswast
Copy link
Contributor

tswast commented Dec 11, 2019

Sounds like we need to implement __getstate__ and __setstate__ if we're going to be able to add any new properties and still support pickle files. https://stackoverflow.com/a/1939384/101923

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants