]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- column_property(), composite_property(), and relation() now
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Sep 2008 19:51:48 +0000 (19:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Sep 2008 19:51:48 +0000 (19:51 +0000)
commit3829b89d69e4eb5c780ca7f4d87ac24462bc46b9
tree469f6c4b3e6e5f88eae542a1bfe79dc50a206fba
parent3e25e6e6b05c39b15deda65921d411ec8cb341ae
- column_property(), composite_property(), and relation() now
accept a single or list of AttributeExtensions using the
"extension" keyword argument.
- Added a Validator AttributeExtension, as well as a
@validates decorator which is used in a similar fashion
as @reconstructor, and marks a method as validating
one or more mapped attributes.
- removed validate_attributes example, the new methodology replaces it
CHANGES
doc/build/content/mappers.txt
examples/custom_attributes/listen_for_events.py
examples/custom_attributes/validate_attributes.py [deleted file]
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/unitofwork.py
lib/sqlalchemy/orm/util.py
test/orm/mapper.py