chore: remove SIP_34_SAVED_QUERIES_UI feature flag (#11175)

This commit is contained in:
Lily Kuang
2020-10-06 15:13:41 -07:00
committed by GitHub
parent ad250637eb
commit 2eb400a2fc
3 changed files with 2 additions and 8 deletions

View File

@@ -23,7 +23,6 @@ from flask_babel import lazy_gettext as _
from superset import app, db
from superset.constants import RouteMethod
from superset.extensions import feature_flag_manager
from superset.models.sql_lab import Query, SavedQuery, TableSchema, TabState
from superset.typing import FlaskResponse
from superset.utils import core as utils
@@ -79,10 +78,7 @@ class SavedQueryView(
@expose("/list/")
@has_access
def list(self) -> FlaskResponse:
if not (
app.config["ENABLE_REACT_CRUD_VIEWS"]
and feature_flag_manager.is_feature_enabled("SIP_34_SAVED_QUERIES_UI")
):
if not app.config["ENABLE_REACT_CRUD_VIEWS"]:
return super().list()
return super().render_app_template()