Skip to content

Commit 802aab3

Browse files
committed
docs: add rule engine flowchart; move schema to advanced
1 parent fec2a60 commit 802aab3

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: docs/media/feat_flags_evaluation_workflow.png

69 KB
Loading

Diff for: docs/utilities/feature_flags.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,16 @@ You can use `get_enabled_features` method for scenarios where you need a list of
382382
}
383383
```
384384

385-
As a result you will get a list of all the names of the features from your feature flags configuration.
385+
### Rule engine flowchart
386+
387+
When evaluating whether features should be enabled, there are a number of decisions this utility makes before returning with `True` or `False`.
388+
389+
This is best described in the following flowchart.
390+
391+
![Rule engine ](../media/feat_flags_evaluation_workflow.png)
392+
393+
394+
## Advanced
386395

387396
### Feature flags schema
388397

@@ -485,7 +494,6 @@ needs to be matched to return `when_match` value.
485494
default=False
486495
```
487496

488-
## Advanced
489497

490498
### Adjusting in-memory cache
491499

0 commit comments

Comments
 (0)