summaryrefslogtreecommitdiff
path: root/tools/format_docs_code.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-10-07 11:25:08 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-10-07 11:32:24 -0400
commit6bf32f56e28d14f6ba15517dea34a87d37bbe644 (patch)
tree7311e93f7b9daf4225c36feded310c0af8b27eaf /tools/format_docs_code.py
parent231897cf10d731c6bab4bca562374c60558a0177 (diff)
downloadsqlalchemy-6bf32f56e28d14f6ba15517dea34a87d37bbe644.tar.gz
dont mutate bind_arguments incoming dictionary
The :paramref:`_orm.Session.execute.bind_arguments` dictionary is no longer mutated when passed to :meth:`_orm.Session.execute` and similar; instead, it's copied to an internal dictionary for state changes. Among other things, this fixes and issue where the "clause" passed to the :meth:`_orm.Session.get_bind` method would be incorrectly referring to the :class:`_sql.Select` construct used for the "fetch" synchronization strategy, when the actual query being emitted was a :class:`_dml.Delete` or :class:`_dml.Update`. This would interfere with recipes for "routing sessions". Fixes: #8614 Change-Id: I8d237449485c9bbf41db2b29a34b6136aa43b7bc
Diffstat (limited to 'tools/format_docs_code.py')
0 files changed, 0 insertions, 0 deletions