From a0b81357cdaefd8f26f6ee98b8330f526dd3d85a Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Mon, 30 Nov 2020 12:01:11 -0800 Subject: [PATCH] fix(datasets): renaming openAPI columns (#11858) --- superset/datasets/api.py | 2 +- superset/datasets/commands/update.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/superset/datasets/api.py b/superset/datasets/api.py index 7b70031f8a..134eb6ebce 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -256,7 +256,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): - in: path schema: type: bool - name: override_column + name: override_columns requestBody: description: Dataset schema required: true diff --git a/superset/datasets/commands/update.py b/superset/datasets/commands/update.py index 7b4c521db8..5be57ffccd 100644 --- a/superset/datasets/commands/update.py +++ b/superset/datasets/commands/update.py @@ -68,7 +68,6 @@ class UpdateDatasetCommand(BaseCommand): dataset = DatasetDAO.update( model=self._model, properties=self._properties, - commit=True, override_columns=self.override_columns, ) return dataset