MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / TestTable

Class TestTable

test/ext/test_serializer.py:336–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334 global TestTable
335
336 class TestTable(Base):
337 __tablename__ = "test"
338
339 id = Column(Integer, primary_key=True, autoincrement=True)
340 _some_id = Column("some_id", String)
341 some_primary_id = column_property(
342 func.left(_some_id, 6).cast(Integer)
343 )
344
345 def test_deserailize_colprop(self):
346 TestTable = self.classes.TestTable

Callers

nothing calls this directly

Calls 3

ColumnClass · 0.90
column_propertyFunction · 0.90
castMethod · 0.45

Tested by

no test coverage detected