summaryrefslogtreecommitdiff
path: root/test/ext/test_declarative.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-10-21 16:42:32 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-10-21 16:42:32 -0400
commitee345b055c2c0c44a6cee4f14f70ebb5e4725aab (patch)
tree1631523bb3a8744bf2075dd2bf256f77703488cf /test/ext/test_declarative.py
parent3d9ca1b7d658f7af04c27e85227e6b92d0e9eb5d (diff)
downloadsqlalchemy-ee345b055c2c0c44a6cee4f14f70ebb5e4725aab.tar.gz
- Fixed bug in TypeDecorator whereby the dialect-specific
type was getting pulled in to generate the DDL for a given type, which didn't always return the correct result. - TypeDecorator can now have a fully constructed type specified as its "impl", in addition to a type class. - TypeDecorator will now place itself as the resulting type for a binary expression where the type coercion rules would normally return its impl type - previously, a copy of the impl type would be returned which would have the TypeDecorator embedded into it as the "dialect" impl, this was probably an unintentional way of achieving the desired effect. - TypeDecorator.load_dialect_impl() returns "self.impl" by default, i.e. not the dialect implementation type of "self.impl". This to support compilation correctly. Behavior can be user-overridden in exactly the same way as before to the same effect.
Diffstat (limited to 'test/ext/test_declarative.py')
0 files changed, 0 insertions, 0 deletions