'The set of all persistent states considered dirty.
This method returns all states that were modified including
those that were possibly deleted.'

@property
def _dirty_states(self):

    return self.identity_map._dirty_states()
