Skip to content
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

refactor!: move AbstractProvider to openfeature.provider #314

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

federicobond
Copy link
Member

Moves AbstractProvider to openfeature.provider module.

Had to reverse the dependency direction between ProviderStatus and ProviderEvent to avoid a circular dependency.

This release SHOULD allow providers to seamlessly support previous and current versions as long as they update their code before 0.7.0 comes out.

Copy link
Member

@gruebel gruebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall it looks good

openfeature/provider/__init__.py Outdated Show resolved Hide resolved
openfeature/provider/__init__.py Outdated Show resolved Hide resolved
Signed-off-by: Federico Bond <federicobond@gmail.com>
Copy link

codecov bot commented Apr 12, 2024

Codecov Report

Attention: Patch coverage is 84.78261% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 97.32%. Comparing base (cd605c4) to head (8b1baf1).

Files Patch % Lines
openfeature/provider/__init__.py 82.50% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #314      +/-   ##
==========================================
- Coverage   97.35%   97.32%   -0.03%     
==========================================
  Files          27       26       -1     
  Lines        1211     1198      -13     
==========================================
- Hits         1179     1166      -13     
  Misses         32       32              
Flag Coverage Δ
unittests 97.32% <84.78%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@federicobond federicobond merged commit 96ba793 into open-feature:main Apr 12, 2024
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants