MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / MyType

Class MyType

test/sql/test_defaults.py:1120–1122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118
1119 def test_autoinc_detection_no_affinity(self):
1120 class MyType(TypeDecorator):
1121 impl = TypeEngine
1122 cache_ok = True
1123
1124 assert MyType()._type_affinity is None
1125 t = Table("x", MetaData(), Column("id", MyType(), primary_key=True))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by 2

define_tablesMethod · 0.56