Skip to content

Commit

Permalink
docs(website): fix openfeature_python.md documentation (#2733)
Browse files Browse the repository at this point in the history
* Fix openfeature_python.md documentation 

In new versions of the OpenFeature SDK there are no names but domains

* fix next version of doc

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

---------

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
Co-authored-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
  • Loading branch information
CMiksche and thomaspoignant authored Nov 27, 2024
1 parent f33383a commit 2dcea82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ goff_provider = GoFeatureFlagProvider(
options=GoFeatureFlagOptions(endpoint="https://gofeatureflag.org/")
)
api.set_provider(goff_provider)
client = api.get_client(name="test-client")
client = api.get_client(domain="test-client")
```

## Evaluate your flag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ goff_provider = GoFeatureFlagProvider(
options=GoFeatureFlagOptions(endpoint="https://gofeatureflag.org/")
)
api.set_provider(goff_provider)
client = api.get_client(name="test-client")
client = api.get_client(domain="test-client")
```

## Evaluate your flag
Expand Down Expand Up @@ -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 2dcea82

Please sign in to comment.