8000 Add support for overwrite attributes by BrandonY · Pull Request #1142 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

Add support for overwrite attributes #1142

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 3 commits into from
Sep 27, 2017

Conversation

BrandonY
Copy link
Contributor

Adds support for displaying GCS overwrite-related attributes.

Also fixes a formatting bug for output.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 27, 2017
@@ -64,6 +64,8 @@ def summarize(message):
bucket_id = attributes['bucketId']
object_id = attributes['objectId']
generation = attributes['objectGeneration']
overwroteGeneration = attributes['overwroteGeneration']
Copy link
Contributor

Choose a reason for hiding this comment

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

our style guide is snake_case for variable names, even if you're plucking them from the API repr.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh dangit, I do that every time. I just can't stop Javaing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hahaha. :)

@theacodes theacodes merged commit 954b6fb into GoogleCloudPlatform:master Sep 27, 2017
@theacodes
Copy link
Contributor

@BrandonY arg, this seems to fail with the system tests https://travis-ci.org/GoogleCloudPlatform/python-docs-samples/builds/280571893

Can you see about fixing it?

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
0