Skip to content

Commit

Permalink
feat: add 'extra' column to saved_queries GET (apache#13662)
Browse files Browse the repository at this point in the history
This column contains schedule information when the feature flag
`SCHEDULED_QUERIES` is enabled. Adding it here makes it available
through the REST API.
  • Loading branch information
mistercrunch authored Mar 19, 2021
1 parent fa072cd commit 95a017a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/queries/saved_queries/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95a017a

Please sign in to comment.