#NEWLINE# def get_inner_queries( self , query = None ) : #NEWLINE# #INDENT# inner_queries = [ ] #NEWLINE# if ( query is None ) : #NEWLINE# #INDENT# query = self #NEWLINE# #UNINDENT# for table in query . tables : #NEWLINE# #INDENT# if ( type ( table ) is QueryTable ) : #NEWLINE# #INDENT# inner_queries . append ( table ) #NEWLINE# inner_queries += self . get_inner_queries ( table . query ) #NEWLINE# #UNINDENT# #UNINDENT# return self