GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — chore: librarian generate pull request: 20260325T173440Z by parthea · Pull Request #1529 · googleapis/python-spanner
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Conversation
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request integrates several updates to the Google Cloud Spanner client library, primarily focusing on API enhancements for location awareness, improved autoscaling configurations, and refined client context handling. It also includes significant updates to the testing and code generation infrastructure, ensuring better support for asynchronous operations and clearer documentation for developers. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This pull request introduces significant enhancements and refactorings to the Spanner client library. Key changes include expanding Spanner instance autoscaling capabilities with total_cpu_utilization_percent and related override options, and improving performance through location awareness by adding routing_hint to BeginTransactionRequest and CommitRequest, and cache_update to CommitResponse, ResultSet, and Transaction objects. The ClientContext class has been refactored to be a nested class within RequestOptions, with all references updated across the codebase and tests. Additionally, the noxfile.py has been updated to support asynchronous system tests, refine unit test argument handling, and introduce a new generate session for cross-sync code generation. Docstrings have been clarified, and new dependencies related to google-auth have been added. There is no feedback to provide as no review comments were given.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Reviewing regarding ClientContext: Because the corresponding feature hasn't launched yet (neither Client support nor in the backend), I think it's fine to make changes like moving it to under RequestContext. I don't have any particular objection to making this specific change, as long as doing so aligns us with how other classes are handled and is representative of a coding pattern that we'd be planning to stick with going forward.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Adding |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The failure in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…it (#1530) In googleapis/python-spanner#1529, Presubmit `Kokoro - Test: Integration with Regular Sessions` failed because Python 3.9 is no longer supported in the Python Kokoro CI. This PR fixes the presubmit by using 3.10 instead.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
MoveClientContext under RequestOptions
There was an error while loading. Please reload this page.