#NEWLINE# def __invert__( self ) : #NEWLINE# #INDENT# collection = self . backend . get_collection_for_cls ( self . cls ) #NEWLINE# pk_index = self . backend . get_pk_index ( collection ) #NEWLINE# all_keys = pk_index . get_all_keys ( ) #NEWLINE# keys = [ key for key in all_keys if ( key not in collection . keys ) ] #NEWLINE# return self . _clone ( keys )