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

@@ -605,9 +605,9 @@ export enum FeatureFlag {
}
```
`superset/config.py` contains `DEFAULT_FEATURE_FLAGS` which will be overwritten by
those specified under FEATURE_FLAGS in `superset_config.py`. For example, `DEFAULT_FEATURE_FLAGS = { 'FOO': True, 'BAR': False }` in `superset/config.py` and `FEATURE_FLAGS = { 'BAR': True, 'BAZ': True }` in `superset_config.py` will result
in combined feature flags of `{ 'FOO': True, 'BAR': True, 'BAZ': True }`.
`superset/config.py` contains `FEATURE_FLAGS` with their default values which will be
overwritten by
those specified under FEATURE_FLAGS in `superset_config.py`.
The current status of the usability of each flag (stable vs testing, etc) can be found in `RESOURCES/FEATURE_FLAGS.md`.