]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- restore mapper.get_property() to use the _props dict. at the moment
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Dec 2010 03:23:13 +0000 (22:23 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Dec 2010 03:23:13 +0000 (22:23 -0500)
commit3b41b66981d8665282c645178643d273361eb6ad
tree51955294b658bbf3bc0e840901d3a888b557223e
parent4f8f6b3989327398c048fa55bc2ed8f26fb022bd
- restore mapper.get_property() to use the _props dict.   at the moment
synonyms for relationships might just be taken out altogether, since they aren't
documented and are of little use.   a plain proxying descriptor, combined with
attribute-based usage with Query (as opposted to naming it by string)
 can do the same thing more simply.
- add event support to composites, change the model around so that the composite
is generated at the point of load.
- add a recipe for tracking mutations on composites.  will probably make both
of these mutations examples into extensions since they're intricate, should
have a lot of test coverage, and what they need to do is fairly straightforward.
Will use metaclasses so that no extra userland step is needed beyond usage
of the type.
examples/mutable_events/composite.py [new file with mode: 0644]
examples/mutable_events/scalars.py
lib/sqlalchemy/orm/descriptor_props.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
test/orm/test_composites.py
test/orm/test_mapper.py
test/orm/test_query.py