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

Removing uses of Bucket.new_blob from regression tests. #693

Merged
merged 1 commit into from
Mar 9, 2015

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Mar 9, 2015

This is towards removing Bucket.new_blob(). It is currently
used only in Bucket to coerce from string OR a Blob object
and then perform some action on the Blob object:

  • Bucket.get_blob()
  • Bucket.delete_blob()
  • Bucket.upload_file()
  • Bucket.upload_file_object()

But we can move most of this behavior onto Blob (no coercion
necessary).

This is towards removing Bucket.new_blob(). It is currently
used only in Bucket to coerce from string OR a Blob object
and then perform some action on the Blob object:
- Bucket.get_blob()
- Bucket.delete_blob()
- Bucket.upload_file()
- Bucket.upload_file_object()

But we can move most of this behavior onto Blob (no coercion
necessary).
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 9, 2015
@tseaver
Copy link
Contributor

tseaver commented Mar 9, 2015

LGTM

dhermes added a commit that referenced this pull request Mar 9, 2015
Removing uses of Bucket.new_blob from regression tests.
@dhermes dhermes merged commit 83f92cc into googleapis:master Mar 9, 2015
@dhermes dhermes deleted the remove-new-blob-in-regression branch March 9, 2015 22:12
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