]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug where attribute "set" events or columns with
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Aug 2014 00:06:16 +0000 (20:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Aug 2014 00:06:16 +0000 (20:06 -0400)
commit530d3f07e0c1e70e0f9b80d3b5986253e06dcaf2
treefccbb61ff4f3d869a7475e42f095421d37f4c270
parent2de7f94739ec1873e1dce48797e1e6f12044cf4c
- Fixed bug where attribute "set" events or columns with
``@validates`` would have events triggered within the flush process,
when those columns were the targets of a "fetch and populate"
operation, such as an autoincremented primary key, a Python side
default, or a server-side default "eagerly" fetched via RETURNING.
fixes #3167
doc/build/changelog/changelog_10.rst
doc/build/orm/mapper_config.rst
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/persistence.py
test/orm/test_unitofworkv2.py