MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _set_callable

Function _set_callable

test/orm/test_attributes.py:34–38  ·  view source on GitHub ↗
(state, dict_, key, callable_)

Source from the content-addressed store, hash-verified

32
33
34def _set_callable(state, dict_, key, callable_):
35 fn = InstanceState._instance_level_callable_processor(
36 state.manager, callable_, key
37 )
38 fn(state, dict_, None)
39
40
41def _register_attribute(class_, key, **kw):

Callers 2

test_lazytrackparentMethod · 0.85
test_ad_hoc_lazyMethod · 0.85

Tested by

no test coverage detected