[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Raise on flag_modified() for non-present attribute
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-21 21:37:33
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/711d29f8e4dc/ Changeset: 711d29f8e4dc Branch: master User: zzzeek Date: 2017-03-21 21:35:12+00:00 Summary: Raise on flag_modified() for non-present attribute The :func:`.attributes.flag_modified` function now raises :class:`.InvalidRequestError` if the named attribute key is not present within the object, as this is assumed to be present in the flush process. To mark an object "dirty" for a flush without referring to any specific attribute, the :func:`.attributes.flag_dirty` function may be used. Change-Id: I6c64e4d253c239e38632f38c27bb16e68fe8dfbe Fixes: #3753 Affected #: 6 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |