You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by am...@apache.org on 2021/03/19 19:38:58 UTC

[superset] branch master updated: feat: add 'extra' column to saved_queries GET (#13662)

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

amitmiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 95a017a  feat: add 'extra' column to saved_queries GET (#13662)
95a017a is described below

commit 95a017aa2dc7e766c42b41bcebe8ada2f70c9843
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Fri Mar 19 12:38:06 2021 -0700

    feat: add 'extra' column to saved_queries GET (#13662)
    
    This column contains schedule information when the feature flag
    `SCHEDULED_QUERIES` is enabled. Adding it here makes it available
    through the REST API.
---
 superset/queries/saved_queries/api.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/queries/saved_queries/api.py b/superset/queries/saved_queries/api.py
index 37e82f4..47ab052 100644
--- a/superset/queries/saved_queries/api.py
+++ b/superset/queries/saved_queries/api.py
@@ -98,6 +98,7 @@ class SavedQueryRestApi(BaseSupersetModelRestApi):
         "sql_tables",
         "rows",
         "last_run_delta_humanized",
+        "extra",
     ]
     add_columns = ["db_id", "description", "label", "schema", "sql"]
     edit_columns = add_columns