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

Method do_orm_execute

test/orm/test_query.py:7456–7464  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

7454 m1 = mock.Mock()
7455
7456 def do_orm_execute(ctx):
7457 m1(ctx)
7458 if source.do_orm_exec:
7459 ctx.update_execution_options(
7460 autoflush=False,
7461 populate_existing=True,
7462 yield_per=10,
7463 identity_token="some_token",
7464 )
7465
7466 event.listen(s, "do_orm_execute", do_orm_execute)
7467

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected