summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/annotation.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-03-07 12:53:00 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2017-03-07 16:24:18 -0500
commitc04870ba7b8098c7d408ad66f60efe7229496fde (patch)
tree48ce6b3cbb8225f85499e54dc92e7d58684812f7 /lib/sqlalchemy/sql/annotation.py
parent9e627159733da48e2fd2d25de93589eb079a75f4 (diff)
downloadsqlalchemy-c04870ba7b8098c7d408ad66f60efe7229496fde.tar.gz
Allow SchemaType and Variant to work together
Added support for the :class:`.Variant` and the :class:`.SchemaType` objects to be compatible with each other. That is, a variant can be created against a type like :class:`.Enum`, and the instructions to create constraints and/or database-specific type objects will propagate correctly as per the variant's dialect mapping. Also added testing for some potential double-event scenarios on TypeDecorator but it seems usually this doesn't occur. Change-Id: I4a7e7c26b4133cd14e870f5bc34a1b2f0f19a14a Fixes: #2892
Diffstat (limited to 'lib/sqlalchemy/sql/annotation.py')
0 files changed, 0 insertions, 0 deletions