-
Notifications
You must be signed in to change notification settings - Fork 155
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
feat: add if*generation*match args into Bucket.delete_blobs() #130
feat: add if*generation*match args into Bucket.delete_blobs() #130
Conversation
This should be merged only after merging #123, as this branch based on the one from PR 123. |
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), | ||
) |
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.
I don't see any system tests for this method. Maybe it should be added to check generation match args are working fine? |
This reverts commit b982094.
Since #123 has been merged, I be ready to review this once the branch is updated and conflicts resolved. Thanks! |
@andrewsg, I've pushed some changes to check if generation match args length differs from |
Towards #127