refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425)

This commit is contained in:
ofekisr
2021-06-28 16:30:13 +03:00
committed by GitHub
parent d8a1acffde
commit 486b8d911f
5 changed files with 12 additions and 21 deletions

View File

@@ -42,7 +42,7 @@ from superset.utils.urls import get_url_path
logger = logging.getLogger(__name__)
feature_flags = config.DEFAULT_FEATURE_FLAGS.copy()
feature_flags = config.FEATURE_FLAGS.copy()
feature_flags.update(config.FEATURE_FLAGS)
feature_flags_func = config.GET_FEATURE_FLAGS_FUNC
if feature_flags_func: