Skip to content

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
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