Skip to content

Commit 5f7be63

Browse files
authored
fix(flags): add missing provider line to openfeature python code example (#14248)
Openfeature needs a provider to evaluate flags.
1 parent 452a8e4 commit 5f7be63

File tree

1 file changed

+1
-0
lines changed
  • docs/platforms/python/integrations/openfeature

1 file changed

+1
-0
lines changed

docs/platforms/python/integrations/openfeature/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The integration is tested by evaluating a feature flag using your OpenFeature SD
4747
from openfeature import api
4848
import sentry_sdk
4949

50+
api.set_provider(MyProviderOfChoice(...))
5051
client = api.get_client()
5152
client.get_boolean_value("hello", default_value=False)
5253

0 commit comments

Comments
 (0)