Commits

Mike Bayer committed 6b2b4fc

inline this

  • Participants
  • Parent commits 5871224

Comments (0)

Files changed (1)

File lib/sqlalchemy/orm/attributes.py

             self, state, v)
 
     def check_mutable_modified(self, state, dict_):
-        added, \
-        unchanged, \
-        deleted = self.get_history(state, dict_, passive=PASSIVE_NO_INITIALIZE)
-        return bool(added or deleted)
+        v = dict_.get(self.key, NO_VALUE)
+        a, u, d = History.from_attribute(self, state, v)
+        return bool(a or d)
 
     def get(self, state, dict_, passive=PASSIVE_OFF):
         if self.key not in state.mutable_dict:
              and instance_state(c) or None
              for c in self.deleted],
             )
-    
+        
     @classmethod
     def from_attribute(cls, attribute, state, current):
         original = state.committed_state.get(attribute.key, NEVER_SET)