Skip to content

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

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