]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] Adding/removing None from a mapped collection
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Aug 2012 15:00:58 +0000 (11:00 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Aug 2012 15:00:58 +0000 (11:00 -0400)
commit96650157083f9c691a7a8a737724159cd6a1d668
tree12ab36603a8a6dea75815b275e3aafabc6c60dfd
parentabc5e848177ab6f688255ef2aa4fe4417ced99b0
- [feature] Adding/removing None from a mapped collection
now generates attribute events.  Previously, a None
append would be ignored in some cases.  Related
to [ticket:2229].

- [feature] The presence of None in a mapped collection
now raises an error during flush.   Previously,
None values in collections would be silently ignored.
[ticket:2229]
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/collections.py
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/unitofwork.py
test/orm/test_attributes.py
test/orm/test_cascade.py