MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / defer

Function defer

lib/sqlalchemy/orm/strategy_options.py:2504–2510  ·  view source on GitHub ↗
(key: _AttrType, *, raiseload: bool = False)

Source from the content-addressed store, hash-verified

2502
2503@loader_unbound_fn
2504def defer(key: _AttrType, *, raiseload: bool = False) -> _AbstractLoad:
2505 if raiseload:
2506 kw = {"raiseload": raiseload}
2507 else:
2508 kw = {}
2509
2510 return _generate_from_keys(Load.defer, (key,), False, kw)
2511
2512
2513@loader_unbound_fn

Callers 15

goMethod · 0.90
test_unbound_optionsMethod · 0.90
test_oneMethod · 0.90
test_twoMethod · 0.90
test_threeMethod · 0.90
test_fourMethod · 0.90
test_optionsMethod · 0.90

Calls 1

_generate_from_keysFunction · 0.85

Tested by 15

goMethod · 0.72
test_unbound_optionsMethod · 0.72
test_oneMethod · 0.72
test_twoMethod · 0.72
test_threeMethod · 0.72
test_fourMethod · 0.72
test_optionsMethod · 0.72