mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
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.
This commit is contained in:
parent
fa072cd74e
commit
95a017aa2d
@ -98,6 +98,7 @@ class SavedQueryRestApi(BaseSupersetModelRestApi):
|
|||||||
"sql_tables",
|
"sql_tables",
|
||||||
"rows",
|
"rows",
|
||||||
"last_run_delta_humanized",
|
"last_run_delta_humanized",
|
||||||
|
"extra",
|
||||||
]
|
]
|
||||||
add_columns = ["db_id", "description", "label", "schema", "sql"]
|
add_columns = ["db_id", "description", "label", "schema", "sql"]
|
||||||
edit_columns = add_columns
|
edit_columns = add_columns
|
||||||
|
Loading…
Reference in New Issue
Block a user