]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- add tests for InstanceEvents.init, InstanceEvents.init_failure
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Aug 2015 19:34:01 +0000 (15:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Aug 2015 19:34:01 +0000 (15:34 -0400)
commitb00b430e87512d721ad30c81fdcb35a5253dfc0a
treeaf192e8081635834bb9120256f9655ab6c8f9914
parent39517d10466eecb1411b2b3bd6569ae22a9ded0e
- add tests for InstanceEvents.init, InstanceEvents.init_failure
- ensure that kwargs can be modified in-place within InstanceEvents.init
and that these take effect for the __init__ method.
- improve documentation for these and related events, including
that kwargs can be modified in-place.
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/state.py
test/orm/test_events.py