MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __go

Function __go

lib/sqlalchemy/orm/collections.py:1543–1566  ·  lib/sqlalchemy/orm/collections.py::__go
(lcls)

Source from the content-addressed store, hash-verified

1541
1542
1543def __go(lcls):
1544 global keyfunc_mapping, mapped_collection
1545 global column_keyed_dict, column_mapped_collection
1546 global MappedCollection, KeyFuncDict
1547 global attribute_keyed_dict, attribute_mapped_collection
1548
1549 from .mapped_collection import keyfunc_mapping
1550 from .mapped_collection import column_keyed_dict
1551 from .mapped_collection import attribute_keyed_dict
1552 from .mapped_collection import KeyFuncDict
1553
1554 from .mapped_collection import mapped_collection
1555 from .mapped_collection import column_mapped_collection
1556 from .mapped_collection import attribute_mapped_collection
1557 from .mapped_collection import MappedCollection
1558
1559 class="cm"># ensure instrumentation is associated with
1560 class="cm"># these built-in classes; if a user-defined class
1561 class="cm"># subclasses these and uses @internally_instrumented,
1562 class="cm"># the superclass is otherwise not instrumented.
1563 class="cm"># see [ticket:2406].
1564 _instrument_class(InstrumentedList)
1565 _instrument_class(InstrumentedSet)
1566 _instrument_class(KeyFuncDict)
1567
1568
1569__go(locals())

Callers 1

collections.pyFile · 0.70

Calls 1

_instrument_classFunction · 0.85

Tested by

no test coverage detected