Repository navigation
docs: write the README - #12
Merged
Merged
Conversation
Covers what the provider is, supported Python versions, installation, usage (configure, register, evaluate), configuration and logging, and mirrors the structure of the other providers' READMEs. Links are absolute so they work on PyPI, which renders the README as the long description. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The note now says the package isn't on PyPI and doesn't fetch flags yet, so the polling, shutdown and initialization behavior describes the first release. The http_client row says its own timeouts also apply, and the validation sentence names the fields that are checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
liamhughes
reviewed
Nov 20, 2026
|
|
||
| client = api.get_client() | ||
|
|
||
| # Evaluation context is passed with each evaluation, so one provider serves every request. |
Collaborator
There was a problem hiding this comment.
I feel like this comment implies that the application (the provider consumer) needs to pass context on each evaluation. They could also use api.set_evaluation_context(...) or api.set_transaction_context(...).
The .NET snippet doesn't actually cover setting evaluation context, so maybe we can keep it simple and just not mention it.
Contributor
Author
There was a problem hiding this comment.
Removed the context from the example so it matches the .NET one.
The comment implied context must be passed with every evaluation, but apps can also set it globally or per transaction. The .NET README leaves context out of its example, so this one does too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
liamhughes
approved these changes
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves BMBB-1516.
What
Replaces the placeholder README with one that follows the structure of the other providers' READMEs, mostly the TS server one. It covers:
requires-pythonand the CI matrix)pip install octopus-openfeature-providerOctopusFeatureConfigurationoptions, and how logging workspyproject.tomlalready setsreadme = "README.md", so PyPI will render it. The links to CONTRIBUTING.md and LICENSE are full GitHub URLs, because relative links break on PyPI.Notes for reviewers
[!WARNING]style doesn't render on PyPI.cache_durationandapi.shutdown()come from the API's docstrings, but neither is implemented yet. I left out any description of polling and failure handling until that code exists.Testing
METADATAuses the README as the long description, withDescription-Content-Type: text/markdown.uv run pytestpasses.🤖 Generated with Claude Code