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

Function _register_attribute

test/orm/test_attributes.py:41–45  ·  test/orm/test_attributes.py::_register_attribute
(class_, key, **kw)

Source from the content-addressed store, hash-verified

39
40
41def _register_attribute(class_, key, **kw):
42 kw.setdefault(class="st">"comparator", object())
43 kw.setdefault(class="st">"parententity", object())
44
45 attributes._register_attribute(class_, key, **kw)
46
47
48class AttributeImplAPITest(fixtures.MappedTest):

Callers 15

_scalar_obj_fixtureMethod · 0.70
test_basicMethod · 0.70
test_picklenessMethod · 0.70
test_deferredMethod · 0.70
test_listMethod · 0.70

Calls 1

setdefaultMethod · 0.45

Tested by

no test coverage detected