#NEWLINE# @ property #NEWLINE# def dirty( self ) : #NEWLINE# #INDENT# 'The set of instances in this :class:`Session` which have\nbeen modified.' #NEWLINE# return frozenset ( chain ( * tuple ( ( sm . dirty for sm in itervalues ( self . _models ) ) ) ) )