From 0a0b2d317f94e3c4ca40023096bbcbae502533f1 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Sat, 22 Apr 2017 15:34:11 +0200 Subject: [PATCH] superset: fix argument swap for SqliteEngineSpec.get_table_names Fix #2660 --- superset/db_engine_specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index db48761ef12e6..c2ade542e0f99 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -302,7 +302,7 @@ def convert_dttm(cls, target_type, dttm): return "'{}'".format(iso) @classmethod - def get_table_names(cls, inspector, schema): + def get_table_names(cls, schema, inspector): """Need to disregard the schema for Sqlite""" return sorted(inspector.get_table_names())