Skip to content

docs(bigtable): clarify that MutationsBatcher.flush defers exceptions to close - #18825

Merged
mutianf merged 1 commit into
mainfrom
docs-batcher-flush-exceptions
Oct 23, 2026
Merged

mutianf merged 1 commit into
mainfrom
docs-batcher-flush-exceptions

Conversation

@mutianf

@mutianf mutianf commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Clarify in MutationsBatcher and MutationsBatcher.flush() docstrings that errors encountered while flushing batches are accumulated and raised as MutationsBatchError when close() is called (or when exiting a with block), rather than during flush().

@mutianf
mutianf requested a review from a team as a code owner October 23, 2026 01:37

@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 updates the documentation for MutationsBatcher and its flush method in batcher.py. It clarifies that any errors encountered during mutation flushing are accumulated and raised as a MutationsBatchError only when close() is called or when exiting a with block, rather than raising them immediately during flush(). There are no review comments, so I have no feedback to provide.

@mutianf
mutianf added this pull request to stack #18828 October 23, 2026 14:59
@mutianf
mutianf merged commit 371218d into main Oct 23, 2026
64 checks passed
@mutianf
mutianf deleted the docs-batcher-flush-exceptions branch October 23, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants