GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove Bucket.new_blob by dhermes · Pull Request #725 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Mar 13, 2015

Copy link
Copy Markdown
Contributor

Was not necessary, Blob() constructor suffices.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 13, 2015
dhermes added 2 commits March 13, 2015 16:45
@dhermes
Reducing usage of Bucket.new_blob; towards removal.
fb09637
Updated Bucket.get_blob() and Bucket.delete_blob() to just take
a string instead of string or Blob. Logic being that if the user
already has a Blob, they can just call blob.delete() or
blob._reload_properties() (more convenient method needed).

Updated Bucket.delete_blobs() to check if each element in list of `blobs`
is a string or a Blob.

Updated Blob.delete() to call Bucket.delete_blob() with just a string and
updated Blob.rename() to call Blob.delete() instead of re-implementing the
mapping to Bucket.delete_blob().

Removed Test_Bucket.test_new_blob_existing, the last caller of
Bucket.new_blob that sends a Blob instead of a string.
@dhermes
Removing of Bucket.new_blob.
d981af6
Opting to just use Blob() constructor where relevant.
@dhermes
dhermes force-pushed the remove-new-blob branch from c903460 to d981af6 Compare March 13, 2015 22:45
@dhermes dhermes added the api: storage Issues related to the Cloud Storage API. label Mar 13, 2015
@coveralls

coveralls commented Mar 13, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling d981af6 on dhermes:remove-new-blob into d668044 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coveralls

coveralls commented Mar 13, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling d981af6 on dhermes:remove-new-blob into d668044 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Mar 16, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes added a commit that referenced this pull request Mar 17, 2015
@dhermes
Merge pull request #725 from dhermes/remove-new-blob
6d147c8
Remove Bucket.new_blob
@dhermes
dhermes merged commit 6d147c8 into googleapis:master Mar 17, 2015
@dhermes
dhermes deleted the remove-new-blob branch March 17, 2015 02:56
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Mar 17, 2015
@dhermes
Fixing regression failure introduced in googleapis#725.
145c53f
dhermes added a commit that referenced this pull request Mar 17, 2015
@dhermes
Merge pull request #740 from dhermes/fix-725-regression-failure
99616fa
Fixing regression failure introduced in #725.
@dhermes dhermes mentioned this pull request Apr 9, 2015
Upgrading version to 0.5.0. #813
Merged
parthea pushed a commit that referenced this pull request Aug 21, 2025
@renovate-bot @gcf-owl-bot @Linchin
chore(deps): update all dependencies (#725)
edacfe5
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

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

* pin ipython version for python 3.9

because later versions dropped support for python 3.9

* pin pytest for python 3.7

* pin pytest for python 3.7

* pin pytest for python 3.7

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Lingqing Gan <[email protected]>
parthea pushed a commit that referenced this pull request Sep 16, 2025
@renovate-bot @gcf-owl-bot
@Linchin @parthea
chore(deps): update all dependencies (#725)
0f295fa
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

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

* pin ipython version for python 3.9

because later versions dropped support for python 3.9

* pin pytest for python 3.7

* pin pytest for python 3.7

* pin pytest for python 3.7

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Lingqing Gan <[email protected]>
parthea pushed a commit that referenced this pull request Sep 18, 2025
@gcf-owl-bot
build(python): fix docs and docfx builds (#725)
d287af2
Source-Link: https://togithub.com/googleapis/synthtool/commit/fac8444edd5f5526e804c306b766a271772a3e2f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5ea6d0ab82c956b50962f91d94e206d3921537ae5fe1549ec5326381d8905cfa
parthea pushed a commit that referenced this pull request Nov 22, 2025
@gcf-owl-bot
docs: Add documentation for enums (#725)
7792628
* docs: Add documentation for enums

fix: Add context manager return types

chore: Update gapic-generator-python to v1.8.1
PiperOrigin-RevId: 503210727

Source-Link: googleapis/googleapis@a391fd1

Source-Link: googleapis/googleapis-gen@0080f83
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
build(deps): bump cryptography from 39.0.1 to 41.0.0 in /synthtool/gc…
1bb00c0
…p/templates/python_library/.kokoro (#725)

Source-Link: googleapis/synthtool@d0f51a0
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:240b5bcc2bafd450912d2da2be15e62bc6de2cf839823ae4bf94d4f392b451dc

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@tseaver
fix: pin grpcio / googleapis-common-protos under Python2 (#725)
47bb362
Both dropped Python2 support in a minor release.  grpcio does not declare
'python_requires'.
parthea pushed a commit that referenced this pull request Mar 6, 2026
@plamut
chore: require grpcio >= 1.38.1 (#725)
fe85e9b
parthea pushed a commit that referenced this pull request Mar 6, 2026
@release-please
chore: release 2.2.1b4 (#725)
2762790
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
chore(deps): update dependency sqlalchemy to v2.0.43 (#725)
3fe0427
parthea pushed a commit that referenced this pull request Mar 9, 2026
@rebecca-pete
docs(samples): Update the Recovery Point Objective (RPO) sample output (
d80ee2e
#725)

@ddelgrosso1 Related to b/217259317.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-storage/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
parthea pushed a commit that referenced this pull request Mar 9, 2026
@gcf-owl-bot
chore: use gapic-generator-python 0.65.2 (#725)
e5b93bc
* chore: use gapic-generator-python 0.65.2

PiperOrigin-RevId: 444333013

Source-Link: googleapis/googleapis@f91b6cf

Source-Link: googleapis/googleapis-gen@16eb360
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTZlYjM2MDk1YzI5NGU3MTJjNzRhMWJmMjM1NTA4MTdiNDIxNzRlNSJ9

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@dhermes @coveralls @tseaver @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.