[Sqlalchemy-commits] commit/sqlalchemy: 3 new changesets
Brought to you by:
zzzeek
|
From: Bitbucket <com...@bi...> - 2013-11-23 22:13:32
|
3 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/ae4629e6a0ff/ Changeset: ae4629e6a0ff Branch: None User: zzzeek Date: 2013-11-23 23:03:48 Summary: - Some refinements to the :class:`.AliasedClass` construct with regards to descriptors, like hybrids, synonyms, composites, user-defined descriptors, etc. The attribute adaptation which goes on has been made more robust, such that if a descriptor returns another instrumented attribute, rather than a compound SQL expression element, the operation will still proceed. Addtionally, the "adapted" operator will retain its class; previously, a change in class from ``InstrumentedAttribute`` to ``QueryableAttribute`` (a superclass) would interact with Python's operator system such that an expression like ``aliased(MyClass.x) > MyClass.x`` would reverse itself to read ``myclass.x < myclass_1.x``. The adapted attribute will also refer to the new :class:`.AliasedClass` as its parent which was not always the case before. [ticket:2872] Affected #: 7 files https://bitbucket.org/zzzeek/sqlalchemy/commits/69b9f62afc7b/ Changeset: 69b9f62afc7b Branch: None User: zzzeek Date: 2013-11-23 23:05:45 Summary: - this test only for mysql Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/50634fcb2d29/ Changeset: 50634fcb2d29 Branch: None User: zzzeek Date: 2013-11-23 23:12:54 Summary: clean up imports Affected #: 1 file 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. |