diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-22 15:38:00 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-22 15:38:00 -0500 |
| commit | 1732414076677e8fb84134325635729691f3d26d (patch) | |
| tree | d77745e4843f03d5412cb3f2bff3435ca88bd7ee /lib/sqlalchemy/sql | |
| parent | ee1f4d21037690ad996c5eacf7e1200e92f2fbaa (diff) | |
| download | sqlalchemy-1732414076677e8fb84134325635729691f3d26d.tar.gz | |
- Added new test coverage for so-called "down adaptions" of SQL types,
where a more specific type is adapted to a more generic one - this
use case is needed by some third party tools such as ``sqlacodegen``.
The specific cases that needed repair within this test suite were that
of :class:`.mysql.ENUM` being downcast into a :class:`.types.Enum`,
and that of SQLite date types being cast into generic date types.
The ``adapt()`` method needed to become more specific here to counteract
the removal of a "catch all" ``**kwargs`` collection on the base
:class:`.TypeEngine` class that was removed in 0.9. [ticket:2917]
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions
