Async database support for Python. 🗄
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Published by zanieb about 1 year ago
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: https://github.com/encode/databases/issues/123, https://github.com/encode/databases/issues/125, https://github.com/encode/databases/issues/134, https://github.com/encode/databases/issues/155, https://github.com/encode/databases/issues/424, and https://github.com/encode/databases/issues/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)Published by Kludex almost 2 years ago
>=1.4.42,<1.5
(#513).typing.Optional
where applicable (#510).Published by aminalaee almost 2 years ago
<=1.4.41
to avoid breaking changes (#520).Published by aminalaee about 2 years ago
Transaction
(#493)Published by aminalaee over 2 years ago
Published by collerek over 2 years ago
Record
type to Sequence
from Mapping
(#408) to maintain backward compatibilityPublished by aminalaee almost 3 years ago
asyncmy
MySQL driver (#382)Record
type to Sequence
(#408)Published by aminalaee about 3 years ago
dialect+driver
for default database drivers like postgresql+asyncpg
(#396)Published by aminalaee about 3 years ago
Published by aminalaee about 3 years ago
connect
and disconnect
calls idempotent (#379)in_
and notin_
queries in SQLAlchemy 1.4 (#378)Published by aminalaee about 3 years ago
Published by tomchristie over 3 years ago
Published by rafalp over 3 years ago
Changelog:
Published by vmarkovtsev almost 4 years ago
Changelog:
Published by vmarkovtsev about 4 years ago
Changelog:
Published by tomchristie over 4 years ago