You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2020/11/04 01:11:20 UTC

[incubator-superset] branch master updated: chore: remove directory importexport (#11531)

This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ebeffa  chore: remove directory importexport (#11531)
1ebeffa is described below

commit 1ebeffa1041dab6848dfba3ae73df2cd9415c805
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Tue Nov 3 17:10:52 2020 -0800

    chore: remove directory importexport (#11531)
---
 superset/charts/commands/export.py                             | 2 +-
 superset/{importexport/commands/base.py => commands/export.py} | 0
 superset/dashboards/commands/export.py                         | 2 +-
 superset/databases/commands/export.py                          | 2 +-
 superset/datasets/commands/export.py                           | 2 +-
 superset/queries/saved_queries/commands/export.py              | 2 +-
 6 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/superset/charts/commands/export.py b/superset/charts/commands/export.py
index 765431f..f4aaa63 100644
--- a/superset/charts/commands/export.py
+++ b/superset/charts/commands/export.py
@@ -26,7 +26,7 @@ from werkzeug.utils import secure_filename
 from superset.charts.commands.exceptions import ChartNotFoundError
 from superset.charts.dao import ChartDAO
 from superset.datasets.commands.export import ExportDatasetsCommand
-from superset.importexport.commands.base import ExportModelsCommand
+from superset.commands.export import ExportModelsCommand
 from superset.models.slice import Slice
 from superset.utils.dict_import_export import IMPORT_EXPORT_VERSION
 
diff --git a/superset/importexport/commands/base.py b/superset/commands/export.py
similarity index 100%
rename from superset/importexport/commands/base.py
rename to superset/commands/export.py
diff --git a/superset/dashboards/commands/export.py b/superset/dashboards/commands/export.py
index a172969..fb05827 100644
--- a/superset/dashboards/commands/export.py
+++ b/superset/dashboards/commands/export.py
@@ -26,7 +26,7 @@ from werkzeug.utils import secure_filename
 from superset.charts.commands.export import ExportChartsCommand
 from superset.dashboards.commands.exceptions import DashboardNotFoundError
 from superset.dashboards.dao import DashboardDAO
-from superset.importexport.commands.base import ExportModelsCommand
+from superset.commands.export import ExportModelsCommand
 from superset.models.dashboard import Dashboard
 from superset.utils.dict_import_export import IMPORT_EXPORT_VERSION
 
diff --git a/superset/databases/commands/export.py b/superset/databases/commands/export.py
index 8cd3212..0ce1de1 100644
--- a/superset/databases/commands/export.py
+++ b/superset/databases/commands/export.py
@@ -25,7 +25,7 @@ from werkzeug.utils import secure_filename
 
 from superset.databases.commands.exceptions import DatabaseNotFoundError
 from superset.databases.dao import DatabaseDAO
-from superset.importexport.commands.base import ExportModelsCommand
+from superset.commands.export import ExportModelsCommand
 from superset.models.core import Database
 from superset.utils.dict_import_export import IMPORT_EXPORT_VERSION
 
diff --git a/superset/datasets/commands/export.py b/superset/datasets/commands/export.py
index b4c9371..a45a35f 100644
--- a/superset/datasets/commands/export.py
+++ b/superset/datasets/commands/export.py
@@ -23,10 +23,10 @@ from typing import Iterator, Tuple
 import yaml
 from werkzeug.utils import secure_filename
 
+from superset.commands.export import ExportModelsCommand
 from superset.connectors.sqla.models import SqlaTable
 from superset.datasets.commands.exceptions import DatasetNotFoundError
 from superset.datasets.dao import DatasetDAO
-from superset.importexport.commands.base import ExportModelsCommand
 from superset.utils.dict_import_export import IMPORT_EXPORT_VERSION
 
 logger = logging.getLogger(__name__)
diff --git a/superset/queries/saved_queries/commands/export.py b/superset/queries/saved_queries/commands/export.py
index 16ce4fc..2733cd1 100644
--- a/superset/queries/saved_queries/commands/export.py
+++ b/superset/queries/saved_queries/commands/export.py
@@ -23,7 +23,7 @@ from typing import Iterator, Tuple
 import yaml
 from werkzeug.utils import secure_filename
 
-from superset.importexport.commands.base import ExportModelsCommand
+from superset.commands.export import ExportModelsCommand
 from superset.models.sql_lab import SavedQuery
 from superset.queries.saved_queries.commands.exceptions import SavedQueryNotFoundError
 from superset.queries.saved_queries.dao import SavedQueryDAO