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 18:11:18 UTC

[incubator-superset] branch fix-datset-api created (now 3190262)

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

hugh pushed a change to branch fix-datset-api
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at 3190262  later in the day

This branch includes the following new commits:

     new 3190262  later in the day

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: later in the day

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch fix-datset-api
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 31902623990dad060e6cf5ed6af0f22e23be2528
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Nov 30 10:10:40 2020 -0800

    later in the day
---
 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