From 2c86d1a2b7053b0e4be9f7f5fdc5e8e313c41e0d Mon Sep 17 00:00:00 2001 From: michael-hoffman-26 <62829859+michael-hoffman-26@users.noreply.github.com> Date: Wed, 23 Feb 2022 20:53:59 +0200 Subject: [PATCH] docs(Import API): update function description, overwrite real meaning (#18882) Co-authored-by: michael_hoffman --- superset/charts/api.py | 2 +- superset/dashboards/api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/charts/api.py b/superset/charts/api.py index a4a301b71..df36a203e 100644 --- a/superset/charts/api.py +++ b/superset/charts/api.py @@ -845,7 +845,7 @@ class ChartRestApi(BaseSupersetModelRestApi): `{"databases/MyDatabase.yaml": "my_password"}`. type: string overwrite: - description: overwrite existing databases? + description: overwrite existing charts? type: boolean responses: 200: diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index d5c04809b..c29eae57e 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -952,7 +952,7 @@ class DashboardRestApi(BaseSupersetModelRestApi): `{"databases/MyDatabase.yaml": "my_password"}`. type: string overwrite: - description: overwrite existing databases? + description: overwrite existing dashboards? type: boolean responses: 200: