FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(storage): Support AppendableWrites to RCU by setting storage_class to RAPID in async write object stream by chandra-siri · Pull Request #18226 · googleapis/google-cloud-python · GitHub

feat(storage): Support AppendableWrites to RCU by setting storage_class to RAPID in async write object stream - #18226

Open
chandra-siri wants to merge 1 commit into
googleapis:mainfrom
chandra-siri:feat-storage-async-stream-rapid-class
Open

feat(storage): Support AppendableWrites to RCU by setting storage_class to RAPID in async write object stream#18226
chandra-siri wants to merge 1 commit into
googleapis:mainfrom
chandra-siri:feat-storage-async-stream-rapid-class

Conversation

Copy link
Copy Markdown
Contributor

Description

Set storage_class="RAPID" when creating an object resource for appendable write stream in _AsyncWriteObjectStream.open() if no blob was provided.

Changes

  • In packages/google-cloud-storage/google/cloud/storage/asyncio/async_write_object_stream.py, set storage_class="RAPID" on _storage_v2.Object initialization.
  • In packages/google-cloud-storage/tests/unit/asyncio/test_async_write_object_stream.py, add unit test assertion verifying storage_class is set to "RAPID".

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code Review

This pull request updates the asynchronous write object stream to set the storage class of newly created objects to 'RAPID' by default. It also updates the corresponding unit tests to assert that the storage class is correctly set to 'RAPID' in the initial write request. There are no review comments, and I have no feedback to provide.

chandra-siri marked this pull request as ready for review August 26, 2026 17:24
chandra-siri requested a review from a team as a code owner August 26, 2026 17:24
chandra-siri requested a review from cpriti-os August 26, 2026 17:24

parthea commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Merging main into this branch may resolve the GitHub Actions Scan failure

chandra-siri changed the title feat(storage): set storage_class to RAPID in async write object stream feat(storage): Support AppendableWrites in to RCU by setting storage_class to RAPID in async write object stream Aug 27, 2026
chandra-siri changed the title feat(storage): Support AppendableWrites in to RCU by setting storage_class to RAPID in async write object stream feat(storage): Support AppendableWrites to RCU by setting storage_class to RAPID in async write object stream Aug 27, 2026
chandra-siri added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL