Skip to content

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
parthea added a commit that referenced this pull request Aug 21, 2025
* chore: Update gapic-generator-python to v1.11.9

PiperOrigin-RevId: 574520922

Source-Link: googleapis/googleapis@5183984

Source-Link: googleapis/googleapis-gen@a59af19
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTU5YWYxOWQ0YWM2NTA5ZmFlZGYxY2MzOTAyOTE0MWI2YTViODk2OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* remove obsolete rst files

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Sep 16, 2025
* chore: Update gapic-generator-python to v1.11.9

PiperOrigin-RevId: 574520922

Source-Link: googleapis/googleapis@5183984

Source-Link: googleapis/googleapis-gen@a59af19
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTU5YWYxOWQ0YWM2NTA5ZmFlZGYxY2MzOTAyOTE0MWI2YTViODk2OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* remove obsolete rst files

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Sep 18, 2025
* chore: update docfx minimum Python version

Source-Link: googleapis/synthtool@bc07fd4
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:30470597773378105e239b59fce8eb27cc97375580d592699206d17d117143d0

* update docfx nox session to use python 3.10

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
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