Skip to content

refactor: add / use 'Client._post_resource' method #443

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

Merged
merged 11 commits into from
Jun 8, 2021

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented May 11, 2021

Toward #38.

Note: this PR is based on 6244df0 of PR #442. I will rebase to master when that PR lands. Done.

@tseaver tseaver requested review from crwilcox and andrewsg May 11, 2021 21:08
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label May 11, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label May 11, 2021
tseaver added 8 commits June 7, 2021 16:13
Also, add retry support to 'Client.create_hmac_key'.

Toward #38.
Also, add retry support to 'BucketNotfication.create'.

Toward #38.
Also, avoid making API requests in tests for 'Blob.update_storage_class':
mock the blob's 'rewrite' method instead.

Toward #38.
Also, avoid making API requests in tests for 'Bucket.rename_blob':
mock the bucket's 'copy_blob' method instead.

Toward #38.
@tseaver tseaver force-pushed the 38-refactor-client-_post_resource branch from 2acfb06 to 24fdae5 Compare June 7, 2021 20:13
@tseaver tseaver marked this pull request as ready for review June 7, 2021 20:13
@tseaver tseaver requested a review from a team June 7, 2021 20:13
@tseaver tseaver requested a review from a team as a code owner June 7, 2021 20:13
@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 7, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 7, 2021
@chrisrossi chrisrossi changed the title refactor: add / use 'Client._post_resorce' method refactor: add / use 'Client._post_resource' method Jun 8, 2021
Copy link

@chrisrossi chrisrossi left a comment

Choose a reason for hiding this comment

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

LGTM!

@tseaver tseaver requested a review from andrewsg June 8, 2021 15:53
Copy link
Contributor

@andrewsg andrewsg left a comment

Choose a reason for hiding this comment

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

Thanks!

@tseaver tseaver merged commit ef764ac into master Jun 8, 2021
@tseaver tseaver deleted the 38-refactor-client-_post_resource branch June 8, 2021 16:49
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants