#NEWLINE# def with_query( self , query = None , alias = None ) : #NEWLINE# #INDENT# '\n\n        :return: self\n        :rtype: :class:`Query <querybuilder.query.Query>`\n        ' #NEWLINE# self . with_tables . append ( TableFactory ( query , alias = alias ) ) #NEWLINE# return query