-
Notifications
You must be signed in to change notification settings - Fork 33
chore(deps): move the workspace onto openfeature-sdk 0.10.0 #434
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -119,6 +119,11 @@ def test_unleash_provider_all_methods_implemented(): | |
| assert hasattr(provider, "add_handler") | ||
| assert hasattr(provider, "remove_handler") | ||
| assert hasattr(provider, "track") | ||
| # Tracking is not implemented, so track is inherited from | ||
| # AbstractProvider and no-ops. Called the way OpenFeatureClient.track | ||
| # calls it -- positionally -- since a narrower override raises | ||
| # TypeError there. | ||
| assert provider.track("some-event", EvaluationContext(), None) is None | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '1,210p' providers/openfeature-provider-unleash/src/openfeature/contrib/provider/unleash/__init__.py
find providers/openfeature-provider-unleash -maxdepth 2 -type f \( -name 'pyproject.toml' -o -name 'requirements*.txt' -o -name 'poetry.lock' \) -print
sed -n '1,180p' providers/openfeature-provider-unleash/pyproject.toml 2>/dev/null || true
rg -n 'openfeature-sdk|AbstractProvider|def track|ProviderTrack|track\(' providers/openfeature-provider-unleash pyproject.toml uv.lock poetry.lock 2>/dev/null || trueRepository: open-feature/python-sdk-contrib Length of output: 11402 🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- test excerpt ---'
sed -n '95,140p' providers/openfeature-provider-unleash/tests/test_provider.py
printf '%s\n' '--- lock excerpts ---'
sed -n '2070,2115p' uv.lock
printf '%s\n' '--- repository SDK definitions ---'
rg -n -A12 -B5 'class AbstractProvider|def track' . -g '*.py' | head -160
printf '%s\n' '--- SDK 0.8.2 source ---'
curl -fsSL https://raw.githubusercontent.com/open-feature/python-sdk/v0.8.2/openfeature/provider/__init__.py | grep -n -A12 -B5 'class AbstractProvider\|def track' || true
printf '%s\n' '--- SDK 0.10.0 source ---'
curl -fsSL https://raw.githubusercontent.com/open-feature/python-sdk/v0.10.0/openfeature/provider/__init__.py | grep -n -A12 -B5 'class AbstractProvider\|def track' || trueRepository: open-feature/python-sdk-contrib Length of output: 8626 Do not require an SDK API outside the declared dependency floor. The package declares 🤖 Prompt for AI Agents |
||
|
|
||
| provider.shutdown() | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.