[cli] Fix, import datasources exported by UI (#8477)

* [cli] Fix, import datasources exported by UI
This commit is contained in:
Daniel Vaz Gaspar
2019-11-10 16:29:51 +00:00
committed by GitHub
parent 5ed2190ebd
commit 650c848243
5 changed files with 35 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ def import_datasource(
"""Imports the datasource from the object to the database.
Metrics and columns and datasource will be overrided if exists.
This function can be used to import/export dashboards between multiple
This function can be used to import/export datasources between multiple
superset instances. Audit metadata isn't copies over.
"""
make_transient(i_datasource)