Skip to content
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

Moving Bucket._patch_properties (and patch) to _PropertyMixin. #690

Merged

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Mar 9, 2015

NOTE: Has #688 as diffbase.

Also updating _PropertyBatch to call patch on __exit__.

It seems removing _patch_properties outright is a possibility

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 9, 2015
@dhermes dhermes added the api: storage Issues related to the Cloud Storage API. label Mar 9, 2015
@dhermes dhermes force-pushed the storage-remove-patch-properties-blob branch from a295c2f to f85f0d9 Compare March 11, 2015 20:50
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f85f0d9 on dhermes:storage-remove-patch-properties-blob into 83f92cc on GoogleCloudPlatform:master.

self._properties = self.connection.api_request(
method='PATCH', path=self.path, data=properties,
query_params={'projection': 'full'})
self._changes.update(properties.keys())

This comment was marked as spam.

This comment was marked as spam.

@tseaver
Copy link
Contributor

tseaver commented Mar 13, 2015

LGTM, module my quibble on set.update() (which you can ignore, if you disagree).

@dhermes dhermes force-pushed the storage-remove-patch-properties-blob branch from f85f0d9 to fcbffb5 Compare March 13, 2015 16:43
dhermes added a commit that referenced this pull request Mar 13, 2015
…blob

Moving Bucket._patch_properties (and patch) to _PropertyMixin.
@dhermes dhermes merged commit 1984572 into googleapis:master Mar 13, 2015
@dhermes dhermes deleted the storage-remove-patch-properties-blob branch March 13, 2015 17:09
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fcbffb5 on dhermes:storage-remove-patch-properties-blob into 982dd56 on GoogleCloudPlatform:master.

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