-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support native asyncpg connection pools (#1182)
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.
- Loading branch information
1 parent
5dedce7
commit eb95a9d
Showing
3 changed files
with
180 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters