]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Propagate hybrid properties / info
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Apr 2016 20:18:31 +0000 (16:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Apr 2016 20:20:20 +0000 (16:20 -0400)
commit6f6e2c48ba0be827ee434891f54eb2173edf9bfc
tree49e1271767c5ae3980e768c573f9cba4d7634049
parent243b222a232da0da0ac42386f3f38364750b1fcc
Propagate hybrid properties / info

Keystone and others depend on the .property attribute being
"mirrored" when a @hybrid_property is linked directly to a
mapped attribute.  Restore this linkage and also create a defined
behavior for the .info dictionary; it is that of the hybrid itself.
Add this behavioral change to the migration notes.

Change-Id: I8ac34ef52039387230c648866c5ca15d381f7fee
References: #3653
doc/build/changelog/migration_11.rst
lib/sqlalchemy/ext/hybrid.py
test/ext/test_hybrid.py