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

[incubator-superset] branch master updated: fix(datasets): renaming openAPI columns (#11858)

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

hugh 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 a0b8135  fix(datasets): renaming openAPI columns (#11858)
a0b8135 is described below

commit a0b81357cdaefd8f26f6ee98b8330f526dd3d85a
Author: Hugh A. Miles II <hu...@gmail.com>
AuthorDate: Mon Nov 30 12:01:11 2020 -0800

    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 7b70031..134eb6e 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 7b4c521..5be57ff 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