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 — Allow asynchronous delete support · Issue #96 · googleapis/google-cloud-python

Allow asynchronous delete support #96

New issue
Copy link
New issue
Copy link
Closed
Closed
Allow asynchronous delete support#96
Copy link
Assignees
tseaver
Labels
api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
Storage Stable

Description

@jgeewax
jgeewax
opened on May 23, 2014
Issue body actions

If I want to delete all the objects in a bucket, I have to figure out the threading on my own to make this quick... I don't care about the response for the most part...

for key in bucket:
  key.delete(async=True)
  # or key.delete_async()

While we're at it, it might be nice to have an "empty bucket" method:

bucket = connection.get_bucket('...')
bucket.delete_all_keys()
Reacted by jacobg

Activity

Next
  1. jgeewax
    added
    enhancement
    on May 23, 2014
  2. tseaver commented on Nov 12, 2014

    @tseaver
    tseaver
    on Nov 12, 2014
    Contributor
    More actions

    We don't do any other async programming within the library: introducing it would inject a lot of complexity.

    For the second, wouldn't the following do?

    bucket.delete_keys(bucket.get_all_keys(), on_error=lambda *key: None)
    
  3. jgeewax commented on Nov 12, 2014

    @jgeewax
    jgeewax
    on Nov 12, 2014
    ContributorAuthor
    More actions

    The use-case is basically deleting a big chunk of keys, so if we can do that with

    bucket.delete_keys(bucket.get_all_keys())

    then I'm happy and you can resolve this...

  4. tseaver
    closed this as completedon Nov 12, 2014
  5. jgeewax
    modified the milestone: Storage Stable on Jan 30, 2015
  6. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  7. atulep
    added 2 commits that reference this issue on Apr 6, 2023

    feat: adds new multi region sample (#96)

    a1d12ec

    feat: adds new multi region sample (#96)

    983f6bf
  8. atulep
    added a commit that references this issue on Apr 18, 2023

    feat: adds new multi region sample (#96)

    0f58cf6
  9. vchudnov-g
    added a commit that references this issue on Apr 19, 2023

    chore(python): add support for python 3.11 [autoapprove] (#96)

    dd7540b
  10. parthea
    added 2 commits that reference this issue on Apr 20, 2023

    chore: Migrate code from googleapis/python-ids into packages/google-c…

    90d8f68

    chore(python): use black==22.3.0 (#96)

    5e2104d
  11. parthea
    added a commit that references this issue on May 31, 2023

    feat: add context manager support in client (#96)

    d0b0d91
  12. 107 remaining items

  13. parthea
    added 6 commits that reference this issue on Nov 24, 2025

    chore(python): use black==22.3.0 (#96)

    716d103

    feat: Added Export Images functionality (#96)

    940a847

    chore(main): release 0.5.0-alpha (#94)

    c2390fe

    feat!: remove v1beta1 surface for v2 (#96)

    53b7ddc

    WIP: Model properties (#96)

    4a93b77

    Fix TypeError if error description is None (#96)

    447d10f
  14. parthea
    added 4 commits that reference this issue on Mar 2, 2026

    feat: add flow control for message publishing (#96)

    1a53422

    chore: release 1.6.0 (#117)

    61e2b02

    fix: revert to silent fallback to pure-Python build (#93)

    15df43d

    Further DRY request dependency pins. (#96)

    3b68d53
  15. parthea
    added 4 commits that reference this issue on Mar 9, 2026

    docs: update to include text about support status (#96)

    6f20b1f

    test: update conformance tests to fit the new format (#96)

    2d7f311

    docs: update documentation for database-usage (#96)

    f0f0794

    feat: group left-nav entries into versions and groups (#96)

    320b281
  16. ohmayr
    added a commit that references this issue on Mar 31, 2026

    fix: revert to silent fallback to pure-Python build (#93)

    This issue will close once commit fa6c57e is merged into the 'main' branch.
    fa6c57e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    • Storage Stable

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.