]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] Added new flag to @validates
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Apr 2012 17:03:52 +0000 (13:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Apr 2012 17:03:52 +0000 (13:03 -0400)
commit747f5edd2192caae4ab79ff7dc9d79045b5bad0c
treeae7c2655773ca0762a11a057a0c7cfffbe659902
parent5280f26d45f6d79013d2da3bd5e0fe4a88117b20
- [feature] Added new flag to @validates
include_removes.  When True, collection
remove and attribute del events
will also be sent to the validation function,
which accepts an additional argument
"is_remove" when this flag is used.
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/util.py
test/orm/test_mapper.py