#NEWLINE# def add_eager_constraints( self , models ) : #NEWLINE# #INDENT# '\n        Set the constraints for an eager load of the relation.\n\n        :type models: list\n        ' #NEWLINE# key = ( '%s.%s' % ( self . _related . get_table ( ) , self . _other_key ) ) #NEWLINE# self . _query . where_in ( key , self . _get_eager_model_keys ( models ) )