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:
Maxime Beauchemin 2021-03-19 12:38:06 -07:00 committed by GitHub
parent fa072cd74e
commit 95a017aa2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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