]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- on_expire event, since we are starting to build off of events around
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Dec 2010 19:08:03 +0000 (14:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Dec 2010 19:08:03 +0000 (14:08 -0500)
commit7dbb6bffc20bccb6e7087f9cfddb8463d9178204
tree4e99df724be8b07beb47c5740481f088ddd35450
parent9c7b00455954239dd2f8f9813fb1c024f4202ebf
- on_expire event, since we are starting to build off of events around
full lifecycle
- composite will use events to do everything we want it to, i.e.
storing the composite in __dict__, invalidating it on change
of any of the columns.
- will reinstate mutability of composites via callable attached
to the composite - but userland code will still need to establish
change event listening on the composite itself, perhaps via
a "mutable" mixin like the scalars.py example, perhaps via
addition of descriptors to the mutable object.
lib/sqlalchemy/orm/descriptor_props.py
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/state.py
test/orm/test_mapper.py