a data goes from clean to dirty when you affect a value to an attribute, even if the new value is equal to the old one.
>>> d = Device.query.get(id=1) >>> print d <Device id=1, v=False> >>> d in DBSession.uow.clean True >>> d.v = False >>> d in DBSession.uow.clean False >>> d in DBSession.uow.dirty True
I think the uow status should not work if the value does not actually change.
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Ooops, should be "status should not change" and not "status should not work"
Fixed in [bd27eaae6c5ca0182130edf414ff0df9a1c8fc02]
Related
Commit: [bd27ea]