]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
The :class:`.MutableComposite` type did not allow for the
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 4 Dec 2012 00:56:55 +0000 (19:56 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 4 Dec 2012 00:56:55 +0000 (19:56 -0500)
commit84e000f0766b8e4f9e2cd48615720c32c234ffa0
treef4ab9bdd74c8cb33c7824f380a604939a40508fa
parentf309abb638db27325f5614c797ff951d1b3fc638
The :class:`.MutableComposite` type did not allow for the
:meth:`.MutableBase.coerce` method to be used, even though
the code seemed to indicate this intent, so this now works
and a brief example is added.  As a side-effect,
the mechanics of this event handler have been changed so that
new :class:`.MutableComposite` types no longer add per-type
global event handlers.  Also in 0.8.0b2.
[ticket:2624]
doc/build/changelog/changelog_07.rst
doc/build/orm/extensions/mutable.rst
lib/sqlalchemy/event.py
lib/sqlalchemy/ext/mutable.py
test/ext/test_mutable.py