diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-08-20 11:47:26 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-08-20 22:17:55 -0400 |
commit | f9ba830ec059f3a4b095c36f94fe7ae29ba7aac2 (patch) | |
tree | 706c1f1cd452bda85a56c2d8b9a8b1d4d23da11c /lib/sqlalchemy/dialects/postgresql/asyncpg.py | |
parent | 5c4a74fc13ca28983706a76ab02ffe09d89d1dbf (diff) | |
download | sqlalchemy-f9ba830ec059f3a4b095c36f94fe7ae29ba7aac2.tar.gz |
restore statement substitution to before_execute()
Fixed issue where the ability of the
:meth:`_engine.ConnectionEvents.before_execute` method to alter the SQL
statement object passed, returning the new object to be invoked, was
inadvertently removed. This behavior has been restored.
The refactor in a1939719a652774a437f69f8d4788b3f08650089 removed this
feature for some reason and there were no tests in place to detect
it. I don't see any indication this was planned.
Fixes: #6913
Change-Id: Ia77ca08aa91ab9403f19a8eb61e2a0e41aad138a
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/asyncpg.py')
0 files changed, 0 insertions, 0 deletions