[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Allow SchemaType and Variant to work together
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-07 22:56:11
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/c04870ba7b80/ Changeset: c04870ba7b80 Branch: master User: zzzeek Date: 2017-03-07 21:24:18+00:00 Summary: 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 Affected #: 8 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |