GeezerVison is showing github.com — feat: add if*generation*match args into Bucket.delete_blobs() by IlyaFaer · Pull Request #130 · googleapis/python-storage
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
IlyaFaer
changed the title
Delete blobs generation match
feat: add if*generation*match args into Bucket.delete_blobs()
May 5, 2020
|
This should be merged only after merging #123, as this branch based on the one from PR 123.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
if_generation_not_match=next(if_generation_not_match, None),
|
|
|
if_metageneration_match=next(if_metageneration_match, None),
|
|
|
if_metageneration_not_match=next(if_metageneration_not_match, None),
|
|
|
)
|
IlyaFaer
May 5, 2020
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this method we're converting args into iterators to be able to take next item (or None if there is no next item, or items at all) with a single line.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I don't see any system tests for this method. Maybe it should be added to check generation match args are working fine?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Since #123 has been merged, I be ready to review this once the branch is updated and conflicts resolved. Thanks!
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@andrewsg, I've pushed some changes to check if generation match args length differs from blobs list (as we done in compose()) as well.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: storage
Issues related to the googleapis/python-storage API.
automerge
Merge the pull request once unit tests and other checks pass.
cla: yes
This human has signed the Contributor License Agreement.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|