Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_contains
Method · 0.45
test_eq_ne
Method · 0.45
test_contains
Method · 0.45
test_dupe_col_name
Method · 0.45
test_dupe_col_name_nested
Method · 0.45
test_session_delete
Method · 0.45
test_remove_scalar
Method · 0.45
test_basic
Method · 0.45
test_lazy_clause
Method · 0.45
test_many_to_one_only
Method · 0.45
test_concurrent_commit_pending
Method · 0.45
test_slice_access
Method · 0.45
Calls
2
invoke_statement
Method · 0.80
update_execution_options
Method · 0.45
Tested by
no test coverage detected