Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for leader aware routing #309

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

asthamohta
Copy link
Contributor

No description provided.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Mar 2, 2023
noxfile.py Outdated Show resolved Hide resolved
"?route_to_leader_enabled=False"
)

def test_route_to_leader_enabled(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also add an test for default option, if nothing is passed then
connection.connection.instance._client.route_to_leader_enabled is True

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-sqlalchemy API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants