Skip to content

docs(feature_flags): fix incorrect line markers and envelope name #3792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/utilities/feature_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ You can use `get_enabled_features` method for scenarios where you need a list of

=== "getting_all_enabled_features.py"

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

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

=== "extracting_envelope.py"

```python hl_lines="7"
```python hl_lines="10"
--8<-- "examples/feature_flags/src/extracting_envelope.py"
```

Expand Down
4 changes: 2 additions & 2 deletions examples/feature_flags/src/extracting_envelope.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
app_config = AppConfigStore(
environment="dev",
application="product-catalogue",
name="features",
envelope="feature_flags",
name="feature_flags",
envelope="features",
)

feature_flags = FeatureFlags(store=app_config)
Expand Down