feat: add support for partial list buckets by Pulkit0110 · Pull Request #1606 · googleapis/python-storage · GitHub
Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

feat: add support for partial list buckets#1606

Merged
Pulkit0110 merged 6 commits into
googleapis:mainfrom
Pulkit0110:partial-list-buckets
Nov 12, 2025
Merged

feat: add support for partial list buckets#1606
Pulkit0110 merged 6 commits into
googleapis:mainfrom
Pulkit0110:partial-list-buckets

Conversation

@Pulkit0110

Copy link
Copy Markdown
Contributor

Add support for partial list buckets

@Pulkit0110 Pulkit0110 requested review from a team November 10, 2025 03:42
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Nov 10, 2025
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Nov 10, 2025
@gemini-code-assist

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for partial success in list_buckets, which is a valuable addition. However, I've found a couple of critical issues that need to be addressed before this can be merged. There's an indentation error in a new helper function that will cause a runtime failure, and the new unit test is broken due to an incorrect mock setup and is also incomplete. I've also identified an opportunity to refactor the list_buckets method to reduce code duplication, which will improve maintainability.

Comment thread google/cloud/storage/client.py Outdated
Comment thread tests/unit/test_client.py
Comment thread google/cloud/storage/client.py
Comment thread google/cloud/storage/client.py Outdated
Comment thread google/cloud/storage/client.py
@chandra-siri

Copy link
Copy Markdown
Collaborator

@Pulkit0110 Also include system tests. (Which can be done by hitting storage testbench)

@Pulkit0110

Copy link
Copy Markdown
Contributor Author

Comment thread google/cloud/storage/client.py
Comment thread google/cloud/storage/client.py Outdated
Comment thread google/cloud/storage/client.py
@Pulkit0110 Pulkit0110 added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 12, 2025
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 12, 2025
@Pulkit0110 Pulkit0110 merged commit 92fc2b0 into googleapis:main Nov 12, 2025
15 checks passed
Pulkit0110 pushed a commit that referenced this pull request Nov 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[3.6.0](v3.5.0...v3.6.0)
(2025-11-17)


### Features

* Add support for partial list buckets
([#1606](#1606))
([92fc2b0](92fc2b0))
* Make return_partial_success and unreachable fields public for list
Bucket
([#1601](#1601))
([323cddd](323cddd))
* **zb-experimental:** Add async write object stream
([5ab8103](5ab8103))
* **zb-experimental:** Add async write object stream
([#1612](#1612))
([5ab8103](5ab8103))


### Bug Fixes

* Dont pass credentials to StorageClient
([#1608](#1608))
([195d644](195d644))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@Pulkit0110 Pulkit0110 deleted the partial-list-buckets branch January 2, 2026 11:07
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Mar 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[3.6.0](googleapis/python-storage@v3.5.0...v3.6.0)
(2025-11-17)


### Features

* Add support for partial list buckets
([#1606](googleapis/python-storage#1606))
([92fc2b0](googleapis/python-storage@92fc2b0))
* Make return_partial_success and unreachable fields public for list
Bucket
([#1601](googleapis/python-storage#1601))
([323cddd](googleapis/python-storage@323cddd))
* **zb-experimental:** Add async write object stream
([5ab8103](googleapis/python-storage@5ab8103))
* **zb-experimental:** Add async write object stream
([#1612](googleapis/python-storage#1612))
([5ab8103](googleapis/python-storage@5ab8103))


### Bug Fixes

* Dont pass credentials to StorageClient
([#1608](googleapis/python-storage#1608))
([195d644](googleapis/python-storage@195d644))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: storage Issues related to the googleapis/python-storage API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants