]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added new flag expire_on_flush=False to column_property(),
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Oct 2011 18:15:09 +0000 (14:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Oct 2011 18:15:09 +0000 (14:15 -0400)
commitf07ffb4739734599e0112bbf7c379e80687f8899
treec22dcb152795bb0e2052f9327ef673b71c21eb18
parenta0cc36c23966bb2a5884e6760ea3efde44fc3518
  - Added new flag expire_on_flush=False to column_property(),
    marks those properties that would otherwise be considered
    to be "readonly", i.e. derived from SQL expressions,
    to retain their value after a flush has occurred, including
    if the parent object itself was involved in an update.
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
test/orm/test_unitofwork.py