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

Function _register_attribute

test/orm/test_collection.py:43–47  ·  test/orm/test_collection.py::_register_attribute
(class_, key, **kw)

Source from the content-addressed store, hash-verified

41
42
43def _register_attribute(class_, key, **kw):
44 kw.setdefault(class="st">"comparator", object())
45 kw.setdefault(class="st">"parententity", object())
46
47 return attributes._register_attribute(class_, key, **kw)
48
49
50class Canary:

Callers 15

_test_adapterMethod · 0.70
_test_empty_initMethod · 0.70
_test_listMethod · 0.70
_test_list_bulkMethod · 0.70
_test_set_wo_mutationMethod · 0.70
_test_setMethod · 0.70
_test_set_bulkMethod · 0.70
_test_set_dataclassesMethod · 0.70
_test_dictMethod · 0.70
_test_dict_bulkMethod · 0.70

Calls 1

setdefaultMethod · 0.45

Tested by

no test coverage detected