MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / evt1

Method evt1

test/engine/test_execute.py:3841–3845  ·  view source on GitHub ↗
(dialect, conn_rec, cargs, cparams)

Source from the content-addressed store, hash-verified

3839
3840 @event.listens_for(e, "do_connect")
3841 def evt1(dialect, conn_rec, cargs, cparams):
3842 cargs[:] = ["foo", "hoho"]
3843 cparams.clear()
3844 cparams["bar"] = "bat"
3845 conn_rec.info["boom"] = "one"
3846
3847 @event.listens_for(e, "do_connect")
3848 def evt2(dialect, conn_rec, cargs, cparams):

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected