#NEWLINE# def _do_post_synchronize( self ) : #NEWLINE# #INDENT# session = self . query . session #NEWLINE# target_mapper = self . query . _mapper_zero ( ) #NEWLINE# for primary_key in self . matched_rows : #NEWLINE# #INDENT# identity_key = target_mapper . identity_key_from_primary_key ( list ( primary_key ) ) #NEWLINE# if ( session in session . identity_map ) : #NEWLINE# #INDENT# session . _remove_newly_deleted ( [ attributes . instance_state ( session . identity_map [ identity_key ] ) ] )