Async database support for Python. ๐
Repo encode/databases, read from GitHub 1 d ago. encode has not joined Take My Repo.
This release improves isolation of connections and transactions across concurrent tasks:
@db.transaction decorator uses the calling task's connectionThese changes improve the consistency of behavior and fix bugs where connections and transactions were not properly isolated such as: #123, #125, #134, #155, #424, and #452.
In most cases, these changes should not be breaking. However, if using an open transaction across tasks, the active connection (db.connection()) now needs to be explicitly passed to each task. See the new documentation for an example.
No module named 'asyncmy.connection' (#553)