MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / before_cursor_execute

Function before_cursor_execute

test/perf/many_table_reflection.py:398–402  ·  view source on GitHub ↗
(
        conn, cursor, statement, parameters, context, executemany
    )

Source from the content-addressed store, hash-verified

396
397 @sa.event.listens_for(engine, "before_cursor_execute")
398 def before_cursor_execute(
399 conn, cursor, statement, parameters, context, executemany
400 ):
401 nonlocal now
402 now = time.time()
403
404 @sa.event.listens_for(engine, "after_cursor_execute")
405 def after_cursor_execute(

Callers

nothing calls this directly

Calls 1

timeMethod · 0.45

Tested by

no test coverage detected