]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
rewrite the docs on SQLite transaction handling
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 May 2025 19:25:07 +0000 (15:25 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 May 2025 19:25:07 +0000 (15:25 -0400)
commit10ff201db40e069e8f90bb0883a916ba3d9cc96e
tree30492b64c7859d06efa323ee16a37a4b3848efc3
parentb8b07a2f28657e57ae9b4071b6313df372b7f8cb
rewrite the docs on SQLite transaction handling

SQLite has added the new "connection.autocommit" mode and
associated fixes for pep-249 as of python 3.12.   they plan to
default to using this attribute as of python 3.16.   Get
on top of things by rewriting the whole doc section here, removing
old cruft about sqlalchemy isolation levels that was not correct
in any case, update recipes in a more succinct and unified way.

References: #12585
Change-Id: I9d1de8dcc27f1731ecd3c723718942148dcd0a1a
lib/sqlalchemy/dialects/sqlite/aiosqlite.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/dialects/sqlite/pysqlite.py