Base waffle toggle classes.
Bases: BaseToggle
Base waffle toggle class, which performs waffle name validation.
Ensure that the instance name is correctly namespaced. I.e: it contains a dot (“.”). This method should only be used by child classes, mostly for overriding purposes.
Caching utilities for waffle toggles.
Waffle flag classes.
Bases: WaffleFlag
Same as the WaffleFlag class, but does not require that the instance name be namespaced. This class is useful for migrating existing Flag objects; new instances should always be namespaced.
Ensure that the instance name is correctly namespaced. I.e: it contains a dot (“.”). This method should only be used by child classes, mostly for overriding purposes.
Bases: BaseWaffle
Represents a single waffle flag, enhanced with request-level caching.
Returns a dictionary of all flags in the request cache. This method should only ever be used by child classes.
Returns whether or not the flag is enabled.
New-style switch classes: these classes no longer depend on namespaces to be created.
Bases: WaffleSwitch
Same as the WaffleSwitch class, but does not require that the instance name be namespaced. This class is useful for migrating existing Switch objects; new instances should always be namespaced.
Ensure that the instance name is correctly namespaced. I.e: it contains a dot (“.”). This method should only be used by child classes, mostly for overriding purposes.
Bases: BaseWaffle
Represents a single waffle switch, enhanced with request-level caching.
Returns whether or not the switch is enabled.
Waffle classes in the context of edx-platform and other IDAs.