MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / define_tables

Method define_tables

test/ext/test_mutable.py:1102–1113  ·  test/ext/test_mutable.py::MutableListNoHashTest.define_tables
(cls, metadata)

Source from the content-addressed store, hash-verified

1100):
1101 @classmethod
1102 def define_tables(cls, metadata):
1103 MutableList = cls._type_fixture()
1104
1105 mutable_pickle = MutableList.as_mutable(PickleType)
1106 Table(
1107 class="st">"foo",
1108 metadata,
1109 Column(
1110 class="st">"id", Integer, primary_key=True, test_needs_autoincrement=True
1111 ),
1112 Column(class="st">"data", mutable_pickle),
1113 )
1114
1115
1116class MutableDictNoHashTest(

Callers

nothing calls this directly

Calls 4

TableClass · 0.90
ColumnClass · 0.90
as_mutableMethod · 0.80
_type_fixtureMethod · 0.45

Tested by

no test coverage detected