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!: update imports to the latest version of the sdk #19

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

federicobond
Copy link
Member

@federicobond federicobond commented Sep 28, 2023

This PR

Updates imports to the latest version of the Python SDK. It also places the contrib code under the openfeature.contrib namespace. For this to work, openfeature has to be turned into an implicit namespace package by removing the __init__.py file in the sdk (see open-feature/python-sdk#199).

Notes

This requires open-feature/python-sdk#199 to be merged first for the shared namespace to work.

This was referenced Sep 28, 2023
@federicobond federicobond linked an issue Sep 28, 2023 that may be closed by this pull request
@agardnerIT agardnerIT mentioned this pull request Sep 28, 2023
@beeme1mr
Copy link
Member

@federicobond I've merged and released the updated SDK.

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #19 (5ff868c) into main (aabe533) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   83.00%   83.00%           
=======================================
  Files           7        7           
  Lines         100      100           
=======================================
  Hits           83       83           
  Misses         17       17           
Flag Coverage Δ
unittests 83.00% <100.00%> (ø)

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

Files Coverage Δ
openfeature/contrib/providers/flagd/__init__.py 100.00% <ø> (ø)
openfeature/contrib/providers/flagd/defaults.py 100.00% <ø> (ø)
...b/providers/flagd/evaluation_context_serializer.py 100.00% <100.00%> (ø)
openfeature/contrib/providers/flagd/flag_type.py 100.00% <ø> (ø)
openfeature/contrib/providers/flagd/provider.py 77.77% <100.00%> (ø)
...ure/contrib/providers/flagd/web_api_url_factory.py 74.07% <ø> (ø)
tests/providers/conftest.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@odubajDT
Copy link

Thank you for contribution! :)

@federicobond
Copy link
Member Author

@beeme1mr awesome! merging now that tests pass.

@federicobond federicobond merged commit 368ba0e into open-feature:main Sep 28, 2023
@federicobond federicobond deleted the update-imports branch September 28, 2023 08:49
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.

compatability with 0.2.0 release buglet
3 participants