mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
feat(alerts/reports): remove SIP_34_UI feature flag (#12085)
This commit is contained in:
parent
ddd2ec59af
commit
17cd174bbf
@ -78,7 +78,7 @@ class AlertReportModelView(SupersetModelView):
|
|||||||
def list(self) -> FlaskResponse:
|
def list(self) -> FlaskResponse:
|
||||||
if not (
|
if not (
|
||||||
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
||||||
and is_feature_enabled("SIP_34_ALERTS_UI")
|
and is_feature_enabled("ALERT_REPORTS")
|
||||||
):
|
):
|
||||||
return super().list()
|
return super().list()
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ class AlertReportModelView(SupersetModelView):
|
|||||||
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
|
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
|
||||||
if not (
|
if not (
|
||||||
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
||||||
and is_feature_enabled("SIP_34_ALERTS_UI")
|
and is_feature_enabled("ALERT_REPORTS")
|
||||||
):
|
):
|
||||||
return super().list()
|
return super().list()
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ class AlertModelView(SupersetModelView): # pylint: disable=too-many-ancestors
|
|||||||
def list(self) -> FlaskResponse:
|
def list(self) -> FlaskResponse:
|
||||||
if not (
|
if not (
|
||||||
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
||||||
and is_feature_enabled("SIP_34_ALERTS_UI")
|
and is_feature_enabled("ALERT_REPORTS")
|
||||||
):
|
):
|
||||||
return super().list()
|
return super().list()
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ class AlertModelView(SupersetModelView): # pylint: disable=too-many-ancestors
|
|||||||
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
|
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
|
||||||
if not (
|
if not (
|
||||||
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
|
||||||
and is_feature_enabled("SIP_34_ALERTS_UI")
|
and is_feature_enabled("ALERT_REPORTS")
|
||||||
):
|
):
|
||||||
return super().list()
|
return super().list()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user