Skip to content

Commit

Permalink
Update openfeature_python.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shigwata authored Mar 10, 2025
1 parent 62c9c7e commit 3e5edb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/sdk/server_providers/openfeature_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ evaluation_ctx = EvaluationContext(
)

admin_flag = client.get_boolean_value(
flag_key=flag_key,
default_value=default_value,
evaluation_context=ctx,
flag_key="flag-only-for-admin",
default_value=False,
evaluation_context=evaluation_ctx,
)

if admin_flag:
Expand All @@ -77,4 +77,4 @@ else:
```

## Contribute to the provider
You can find the source of the provider in the [`repository`](https://github.com/thomaspoignant/go-feature-flag/tree/main/openfeature/providers/python-provider).
You can find the source of the provider in the [`repository`](https://github.com/thomaspoignant/go-feature-flag/tree/main/openfeature/providers/python-provider).

0 comments on commit 3e5edb6

Please sign in to comment.