chore: remove SIP_34_DATABASE_UI (#10926)

This commit is contained in:
ʈᵃᵢ 2020-09-17 12:53:00 -07:00 committed by GitHub
parent d6be977d1b
commit 213b772368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

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

View File

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