Skip to content

Conversation

harshachinta
Copy link
Contributor

@harshachinta harshachinta commented Feb 26, 2024

Fixes b/326596176

This PR makes the following changes

  1. allows setting retry and timeout to batch_update method. This PR feat: add support for custom timeout and retry parameters in execute_update method in transactions #251 added changes only to few methods.
  2. Add a public sample for retry and timeout. https://cloud.google.com/spanner/docs/custom-timeout-and-retry

Fixes #927

@harshachinta harshachinta requested review from a team as code owners February 26, 2024 11:53
@harshachinta harshachinta requested a review from ohmayr February 26, 2024 11:53
Copy link

snippet-bot bot commented Feb 26, 2024

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/python-spanner API. labels Feb 26, 2024
@harshachinta harshachinta enabled auto-merge (squash) March 6, 2024 11:29
@harshachinta harshachinta merged commit 4f6340b into googleapis:main Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add sample for passing timeout and retry parameters
2 participants