diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-01-05 08:48:36 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-01-05 21:56:18 -0500 |
commit | c12012452e11093a06e3c83c19fe4d794f5bb21e (patch) | |
tree | 1681e269d80f0e74da7eeb27bd177f967318c601 /test/dialect/postgresql/test_async_pg_py3k.py | |
parent | 640cd8a70f8a664b7834c5f74ec322fdea644043 (diff) | |
download | sqlalchemy-c12012452e11093a06e3c83c19fe4d794f5bb21e.tar.gz |
Remove special rule for TypeDecorator of TypeDecorator
Removing this check for "TypeDecorator" in impl seems to not
break anything and allows TypeDecorator.with_variant() to
work correctly. The line has been traced back to 2007 and
does not appear to have relevance today.
Fixed bug where making use of the :meth:`.TypeEngine.with_variant` method
on a :class:`.TypeDecorator` type would fail to take into account the
dialect-specific mappings in use, due to a rule in :class:`.TypeDecorator`
that was instead attempting to check for chains of :class:`.TypeDecorator`
instances.
Fixes: #5816
Change-Id: Ic86d9d985810e3050f15972b4841108acca2fa3e
Diffstat (limited to 'test/dialect/postgresql/test_async_pg_py3k.py')
0 files changed, 0 insertions, 0 deletions