]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add initiator argument to set_attribute
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Feb 2018 14:16:39 +0000 (09:16 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Feb 2018 22:40:39 +0000 (17:40 -0500)
commitc3ec789ecdd4e33786b8ac0f1ccdf155c15eda9d
treec7f31c22bd0912e3cef9b7951ce48ebde3a61829
parentcf64e2574cfdd29aaf9b60bbd1b18e026e18049a
Add initiator argument to set_attribute

Added new argument :paramref:`.attributes.set_attribute.inititator`
to the :func:`.attributes.set_attribute` function, allowing an
event token received from a listener function to be propagated
to subsequent set events.

Change-Id: I6ede21e42153026ab46a1d2ec33aa3f999db98e2
doc/build/changelog/unreleased_12/add_initiator.rst [new file with mode: 0644]
lib/sqlalchemy/orm/attributes.py
test/orm/test_attributes.py