Coverage for server / services / growthbook / overrides.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-10-04 09:33 +0000

1""" 

2Override types retained for evaluation result labels (overrides are not used). 

3""" 

4 

5from enum import Enum 

6 

7 

8class FeatureSource(str, Enum): 

9 INHERITED = "inherited" 

10 PLAN_DEFAULT = "plan_default" 

11 GROWTHBOOK = "growthbook" 

12 # Nothing was evaluated: the caller has no district, so no plan, override or 

13 # GrowthBook rule could apply. Distinct from PLAN_DEFAULT so "off because 

14 # your plan excludes it" stays distinguishable from "off because we do not 

15 # know who you are yet". 

16 NO_SCOPE = "no_scope"