Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sqlalchemy/sqlalchemy
/ test_ai
Method
test_ai
test/orm/test_instrumentation.py:44–52 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
42
event.listen(manager,
"init"
, init, raw=True)
43
44
def
test_ai(self):
45
inits = []
46
47
class
A:
48
def
__init__(self):
49
inits.append((A,
"__init__"
))
50
51
A()
52
eq_(inits, [(A,
"__init__"
)])
53
54
def
test_A(self):
55
inits = []
Callers
nothing calls this directly
Calls
2
eq_
Function · 0.90
A
Class · 0.70
Tested by
no test coverage detected