MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / one

Method one

test/orm/test_events.py:638–639  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

636
637 @event.listens_for(sess, "do_orm_execute")
638 def one(ctx):
639 return ctx.invoke_statement(params={"id": 7})
640
641 orig_params = {"id": 18}
642 with self.sql_execution_asserter() as asserter:

Callers 15

test_containsMethod · 0.45
test_eq_neMethod · 0.45
test_containsMethod · 0.45
test_dupe_col_nameMethod · 0.45
test_session_deleteMethod · 0.45
test_remove_scalarMethod · 0.45
test_basicMethod · 0.45
test_lazy_clauseMethod · 0.45
test_many_to_one_onlyMethod · 0.45
test_slice_accessMethod · 0.45

Calls 2

invoke_statementMethod · 0.80

Tested by

no test coverage detected