Skip to content

feat: srw#1048

Merged
sophia-bq merged 4 commits intomainfrom
feat/srw
Dec 22, 2025
Merged

feat: srw#1048
sophia-bq merged 4 commits intomainfrom
feat/srw

Conversation

@sophia-bq
Copy link
Copy Markdown
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
Comment thread tests/unit/test_read_write_splitting_plugin.py Outdated
Comment thread tests/unit/test_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/utils/properties.py
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/utils/properties.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py
Comment thread aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py Outdated
return


class ConnectionHandler(Protocol):
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.

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
Copy Markdown
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!

Comment thread tests/integration/container/test_read_write_splitting.py Outdated
@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