(
conn, clauseelement, multiparams, params, execution_options
)
| 2212 | |
| 2213 | @event.listens_for(connection, "before_execute", retval=True) |
| 2214 | def _modify( |
| 2215 | conn, clauseelement, multiparams, params, execution_options |
| 2216 | ): |
| 2217 | m1.run_event() |
| 2218 | return clauseelement.replace("hi", "there"), multiparams, params |
| 2219 | |
| 2220 | # the event does not take effect for the "driver SQL" option |
| 2221 | eq_(connection.exec_driver_sql("select 'hi'").scalar(), "hi") |
nothing calls this directly
no test coverage detected