mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Revert "refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425)" (#15448)
This commit is contained in:
@@ -28,7 +28,8 @@ class FeatureFlagManager:
|
||||
|
||||
def init_app(self, app: Flask) -> None:
|
||||
self._get_feature_flags_func = app.config["GET_FEATURE_FLAGS_FUNC"]
|
||||
self._feature_flags = app.config["FEATURE_FLAGS"].copy()
|
||||
self._feature_flags = app.config["DEFAULT_FEATURE_FLAGS"]
|
||||
self._feature_flags.update(app.config["FEATURE_FLAGS"])
|
||||
|
||||
def get_feature_flags(self) -> Dict[str, Any]:
|
||||
if self._get_feature_flags_func:
|
||||
|
||||
Reference in New Issue
Block a user