@reflection.cache
def get_table_names(self, connection, schema=None, **kw):
    if (schema is not None):
        qschema = self.identifier_preparer.quote_identifier(schema)
        master = ('%s.sqlite_master' % qschema)
    else:
        master = 'sqlite_master'
    s = ("SELECT name FROM %s WHERE type='table' ORDER BY name" % (master,))
    rs = connection.exec_driver_sql(s)
    return [row[0] for row in rs]
@reflection.cache
def get_table_names(self, connection, schema=None, **kw):
    if (schema is not None):
        qschema = self.identifier_preparer.quote_identifier(schema)
        master = ('%s.sqlite_master' % qschema)
    else:
        master = 'sqlite_master'
    s = ("SELECT name FROM %s WHERE type='table' ORDER BY name" % (master,))
    rs = connection.exec_driver_sql(s)
    return [row[0] for row in rs]