mirror of
https://github.com/apache/superset.git
synced 2024-09-06 05:47:43 -04:00
chore: remove SIP_34_DATABASE_UI (#10926)
This commit is contained in:
parent
d6be977d1b
commit
213b772368
@ -309,7 +309,6 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
|
||||
"SIP_38_VIZ_REARCHITECTURE": False,
|
||||
"TAGGING_SYSTEM": False,
|
||||
"SQLLAB_BACKEND_PERSISTENCE": False,
|
||||
"SIP_34_DATABASE_UI": False,
|
||||
}
|
||||
|
||||
# This is merely a default.
|
||||
|
@ -32,7 +32,6 @@ from superset import app, db
|
||||
from superset.connectors.sqla.models import SqlaTable
|
||||
from superset.constants import RouteMethod
|
||||
from superset.exceptions import CertificateException
|
||||
from superset.extensions import feature_flag_manager
|
||||
from superset.sql_parse import Table
|
||||
from superset.typing import FlaskResponse
|
||||
from superset.utils import core as utils
|
||||
@ -99,10 +98,7 @@ class DatabaseView(
|
||||
@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_DATABASE_UI")
|
||||
):
|
||||
if not app.config["ENABLE_REACT_CRUD_VIEWS"]:
|
||||
return super().list()
|
||||
|
||||
return super().render_app_template()
|
||||
|
Loading…
Reference in New Issue
Block a user