MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _register_attribute

Function _register_attribute

test/ext/test_extendedattr.py:29–33  ·  test/ext/test_extendedattr.py::_register_attribute
(class_, key, **kw)

Source from the content-addressed store, hash-verified

27
28
29def _register_attribute(class_, key, **kw):
30 kw.setdefault(class="st">"comparator", object())
31 kw.setdefault(class="st">"parententity", object())
32
33 attributes._register_attribute(class_, key, **kw)
34
35
36@decorator

Callers 7

test_instance_dictMethod · 0.70
test_basicMethod · 0.70
test_deferredMethod · 0.70
test_inheritanceMethod · 0.70
test_historyMethod · 0.70

Calls 1

setdefaultMethod · 0.45

Tested by

no test coverage detected