Skip to content

Conversation

@jackwotherspoon
Copy link
Collaborator

@jackwotherspoon jackwotherspoon commented Oct 25, 2024

As of asyncpg v0.30.0, asyncpg native connection pools now support
a creation function (callable) via its connect argument, similar to
SQLAlchemy's async_creator argument to generate connections.

Adding integration test and usage samples to README.

Also bumping asyncpg min supported version in setup.py to 0.30.0
to force supported version for this feature.

Closes #1180

@jackwotherspoon jackwotherspoon self-assigned this Oct 25, 2024
@jackwotherspoon jackwotherspoon requested a review from a team as a code owner October 25, 2024 13:48
@jackwotherspoon
Copy link
Collaborator Author

cc @d1manson if you want to let me know if this looks good to you? 😄

@jackwotherspoon jackwotherspoon merged commit eb95a9d into main Oct 25, 2024
15 checks passed
@jackwotherspoon jackwotherspoon deleted the asyncpg-native-pool branch October 25, 2024 19:38
rhatgadkar-goog added a commit to GoogleCloudPlatform/alloydb-python-connector that referenced this pull request Jan 9, 2025
rhatgadkar-goog added a commit to GoogleCloudPlatform/alloydb-python-connector that referenced this pull request Jan 9, 2025
rhatgadkar-goog added a commit to GoogleCloudPlatform/alloydb-python-connector that referenced this pull request Jan 9, 2025
rhatgadkar-goog added a commit to GoogleCloudPlatform/alloydb-python-connector that referenced this pull request Jan 9, 2025
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.

asyncpg pool support improved

4 participants