MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _register_attribute

Function _register_attribute

test/orm/test_collection.py:42–46  ·  view source on GitHub ↗
(class_, key, **kw)

Source from the content-addressed store, hash-verified

40
41
42def _register_attribute(class_, key, **kw):
43 kw.setdefault("comparator", object())
44 kw.setdefault("parententity", object())
45
46 return attributes.register_attribute(class_, key, **kw)
47
48
49class 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