[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - Added new test coverage for so-called "down adapt
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-01-22 20:39:04
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/173241407667/ Changeset: 173241407667 Branch: None User: zzzeek Date: 2014-01-22 21:38:00 Summary: - 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] Affected #: 4 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. |