]> 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:57 +0000 (15:34 -0400)
commit42281066ca82067e752ea0293506f3e50fada843
tree881a0ab10af018f7a07164e3eb78598c4598016a
parent7f3548909e5d72a7a910d2629d53f7ed44625c08
- 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.

(cherry picked from commit b00b430e87512d721ad30c81fdcb35a5253dfc0a)
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/state.py
test/orm/test_events.py