MCPcopy Index your code
hub / github.com/zzzeek/sqlalchemy / setup_mappers

Method setup_mappers

test/ext/test_mutable.py:1557–1566  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1555
1556 @classmethod
1557 def setup_mappers(cls):
1558 foo = cls.tables.foo
1559
1560 cls.Point = cls._type_fixture()
1561
1562 cls.mapper_registry.map_imperatively(
1563 Foo,
1564 foo,
1565 properties={"data": composite(cls.Point, foo.c.x, foo.c.y)},
1566 )
1567
1568 def test_evt_on_flush_refresh(self):
1569 # this still worked prior to #3427 being fixed in any case

Callers

nothing calls this directly

Calls 3

compositeFunction · 0.90
map_imperativelyMethod · 0.80
_type_fixtureMethod · 0.45

Tested by

no test coverage detected