]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add AttributeEvents.modified
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 May 2017 19:42:59 +0000 (15:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 May 2017 19:14:04 +0000 (15:14 -0400)
commitf46551de450a76de4105bda3be8d0d5c5fc0d52c
tree2bf640007f988f6851c359eee7e38886b81239d9
parenta987942761542666be89f40a9ac4a35e001b8265
Add AttributeEvents.modified

Added new event handler :meth:`.AttributeEvents.modified` which is
triggered when the func:`.attributes.flag_modified` function is
invoked, which is common when using the :mod:`sqlalchemy.ext.mutable`
extension module.

Change-Id: Ic152f1d5c53087d780b24ed7f1f1571527b9e8fc
Fixes: #3303
doc/build/changelog/changelog_12.rst
doc/build/changelog/migration_12.rst
lib/sqlalchemy/ext/mutable.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/events.py
test/ext/test_mutable.py
test/orm/test_attributes.py