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.
As of
asyncpg v0.30.0
, asyncpg native connection pools now support a creation function (callable) via itsconnect
argument, similar to SQLAlchemy'sasync_creator
argument to generate connections.Adding integration test and usage samples to README.
Also bumping asyncpg min supported version in
setup.py
to0.30.0
to force supported version for this feature.Closes #1180