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

Factoring out some Blob helpers. #3357

Merged
merged 1 commit into from
May 2, 2017

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented May 2, 2017

This is prep work for swapping out the upload implementation to use google-resumable-media.

I just wanted to get "unrelated" and non-controversial changes out of the way before a big PR.

@dhermes dhermes added api: storage Issues related to the Cloud Storage API. hygiene labels May 2, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 2, 2017
This is prep work for swapping out the upload implementation
to use `google-resumable-media`.
@dhermes dhermes force-pushed the factor-out-some-blob-helpers branch from 74f8152 to ec38e51 Compare May 2, 2017 22:33
@@ -324,6 +325,23 @@ def delete(self, client=None):
"""
return self.bucket.delete_blob(self.name, client=client)

def _make_transport(self, client):

This comment was marked as spam.

This comment was marked as spam.

_DOWNLOAD_URL_TEMPLATE = (
u'https://www.googleapis.com/download/storage/v1{path}?alt=media')
_CONTENT_TYPE = 'contentType'

This comment was marked as spam.

This comment was marked as spam.

@dhermes dhermes merged commit 4e6e2b1 into googleapis:master May 2, 2017
@dhermes dhermes deleted the factor-out-some-blob-helpers branch May 2, 2017 23:13
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
This is prep work for swapping out the upload implementation to use `google-resumable-media`.
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.

5 participants