#NEWLINE# @ reflection . cache #NEWLINE# def get_table_names( self , connection , schema = None , **kw ) : #NEWLINE# #INDENT# schema = self . denormalize_name ( ( schema or self . default_schema_name ) ) #NEWLINE# if ( schema is None ) : #NEWLINE# #INDENT# schema = self . default_schema_name #NEWLINE# #UNINDENT# s = sql . text ( "SELECT table_name FROM all_tables WHERE nvl(tablespace_name, 'no tablespace') NOT IN ('SYSTEM', 'SYSAUX') AND OWNER = :owner AND IOT_NAME IS NULL" ) #NEWLINE# cursor = connection . execute ( s , owner = schema ) #NEWLINE# return [ self . normalize_name ( row [ 0 ] ) for row in cursor ]