Add a feature toggleΒΆ
It often happens that a feature is mostly done but not quite ready for a wider audience. Feature toggles give developers and user experience wizards the ability to test features early in the cycle and give them insight into performance and usability.
features:
foo: true
bar: false
To access these settings in main.py use the following syntax.
if config.features['foo']:
# Do foo feature
As easy as that.