You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/11/05 12:40:46 UTC

[incubator-superset] 01/01: chore: remove directory importexport

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

villebro pushed a commit to tag release-45-tag
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 3d06a3c88bc806f3d733d4a1a3478cd7412c1f69
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Mon Nov 2 13:19:28 2020 -0800

    chore: remove directory importexport
---
 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 23bdb55..326b290 100644
--- a/superset/charts/commands/export.py
+++ b/superset/charts/commands/export.py
@@ -25,7 +25,7 @@ import yaml
 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, sanitize
 
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 ba55b64..26bb2b8 100644
--- a/superset/dashboards/commands/export.py
+++ b/superset/dashboards/commands/export.py
@@ -25,7 +25,7 @@ import yaml
 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, sanitize
 
diff --git a/superset/databases/commands/export.py b/superset/databases/commands/export.py
index a7715f5..4661c39 100644
--- a/superset/databases/commands/export.py
+++ b/superset/databases/commands/export.py
@@ -24,7 +24,7 @@ import yaml
 
 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, sanitize
 
diff --git a/superset/datasets/commands/export.py b/superset/datasets/commands/export.py
index a14cdcd..fbcc7fd 100644
--- a/superset/datasets/commands/export.py
+++ b/superset/datasets/commands/export.py
@@ -22,10 +22,10 @@ from typing import Iterator, Tuple
 
 import yaml
 
+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, sanitize
 
 logger = logging.getLogger(__name__)
diff --git a/superset/queries/saved_queries/commands/export.py b/superset/queries/saved_queries/commands/export.py
index 33dfffc..44731b5 100644
--- a/superset/queries/saved_queries/commands/export.py
+++ b/superset/queries/saved_queries/commands/export.py
@@ -22,7 +22,7 @@ from typing import Iterator, Tuple
 
 import yaml
 
-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