#NEWLINE# def expire_all( self ) : #NEWLINE# #INDENT# "Expires all persistent instances within this Session.\n\n        When any attributes on a persistent instance is next accessed,\n        a query will be issued using the\n        :class:`.Session` object's current transactional context in order to\n        load all expired attributes for the given instance.   Note that\n        a highly isolated transaction will return the same values as were\n        previously read in that same transaction, regardless of changes\n        in database state outside of that transaction.\n\n        To expire individual objects and individual attributes\n        on those objects, use :meth:`Session.expire`.\n\n        The :class:`.Session` object's default behavior is to\n        expire all state whenever the :meth:`Session.rollback`\n        or :meth:`Session.commit` methods are called, so that new\n        state can be loaded for the new transaction.   For this reason,\n        calling :meth:`Session.expire_all` should not be needed when\n        autocommit is ``False``, assuming the transaction is isolated.\n\n        .. seealso::\n\n            :ref:`session_expire` - introductory material\n\n            :meth:`.Session.expire`\n\n            :meth:`.Session.refresh`\n\n        " #NEWLINE# for state in self . identity_map . all_states ( ) : #NEWLINE# #INDENT# state . _expire ( state . dict , self . identity_map . _modified )