Skip to content

Commit 48f705f

Browse files
ran-isenbergRan Isenberg
and
Ran Isenberg
authored
docs(feature_flags): fix incorrect line markers and envelope name (#3792)
Co-authored-by: Ran Isenberg <[email protected]>
1 parent 4a6602a commit 48f705f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/utilities/feature_flags.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ You can use `get_enabled_features` method for scenarios where you need a list of
178178

179179
=== "getting_all_enabled_features.py"
180180

181-
```python hl_lines="2 9 26"
181+
```python hl_lines="4 9 11 28"
182182
--8<-- "examples/feature_flags/src/getting_all_enabled_features.py"
183183
```
184184

@@ -472,7 +472,7 @@ For this to work, you need to use a JMESPath expression via the `envelope` param
472472

473473
=== "extracting_envelope.py"
474474

475-
```python hl_lines="7"
475+
```python hl_lines="10"
476476
--8<-- "examples/feature_flags/src/extracting_envelope.py"
477477
```
478478

examples/feature_flags/src/extracting_envelope.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
app_config = AppConfigStore(
77
environment="dev",
88
application="product-catalogue",
9-
name="features",
10-
envelope="feature_flags",
9+
name="feature_flags",
10+
envelope="features",
1111
)
1212

1313
feature_flags = FeatureFlags(store=app_config)

0 commit comments

Comments
 (0)