Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@sophia-bq
Copy link
Contributor

Description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sophia-bq sophia-bq force-pushed the feat/srw branch 2 times, most recently from 8cdcb96 to b17206b Compare December 3, 2025 06:51
tests/unit/test_read_write_splitting_plugin.py Outdated Show resolved Hide resolved
tests/unit/test_read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/utils/properties.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated Show resolved Hide resolved
return


class ConnectionHandler(Protocol):
Copy link
Contributor

Choose a reason for hiding this comment

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

2 things:

  1. Curious, would it make sense for this to be outside of ReadWriteSplitting since it's a generic interface that both og rw splitting and srw uses
  2. ConnectionHandler seems like a generic name, but this is specific to read/write splitting. Maybe ReadWriteConnectionHandler or something might be a better name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. I'm open to moving it out if it feels appropriate. I was trying to follow what has been previously done, for example connection_provider.py which has both the generic ConnectionProvider and also the DriverConnectionProvider
  2. Agreed!

tests/integration/container/test_read_write_splitting.py Outdated Show resolved Hide resolved
@sophia-bq sophia-bq force-pushed the feat/srw branch 2 times, most recently from 22ce7b3 to 334f8b9 Compare December 18, 2025 18:15
@sophia-bq sophia-bq merged commit 5dc424b into main Dec 22, 2025
8 checks passed
@sophia-bq sophia-bq deleted the feat/srw branch December 22, 2025 18:45
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.