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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![Experimental](https://img.shields.io/badge/experimental-breaking%20changes%20allowed-yellow)
![Alpha](https://img.shields.io/badge/alpha-release-red)

> ⚠️ This repositority is a work-in-progress. Tooling and documentation may be incomplete. ⚠️
> ⚠️ This repository is a work-in-progress. Tooling and documentation may be incomplete. ⚠️
>                 The Python SDK is under active development and is subject to change.

This repository is intended for OpenFeature contributions which are not included in the [OpenFeature SDK](https://github.com/open-feature/python-sdk).
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typing

from open_feature.evaluation_context.evaluation_context import EvaluationContext
from openfeature.evaluation_context import EvaluationContext


class EvaluationContextSerializer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
from numbers import Number

import requests
from open_feature.evaluation_context.evaluation_context import EvaluationContext
from open_feature.exception.error_code import ErrorCode
from open_feature.flag_evaluation.flag_evaluation_details import FlagEvaluationDetails
from open_feature.provider.provider import AbstractProvider
from openfeature.evaluation_context import EvaluationContext
from openfeature.exception import ErrorCode
from openfeature.flag_evaluation import FlagEvaluationDetails
from openfeature.provider.provider import AbstractProvider

from .defaults import Defaults
from .evaluation_context_serializer import EvaluationContextSerializer
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mypy-extensions==0.4.3
# via black
nodeenv==1.6.0
# via pre-commit
openfeature-sdk==0.0.9
openfeature-sdk==0.3.1
# via -r requirements-dev.in
packaging==21.3
# via pytest
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=./requirements.txt ./requirements.in
# pip-compile requirements.in
#
openfeature-sdk==0.0.9
# via -r ./requirements.in
openfeature-sdk==0.3.1
# via -r requirements.in
4 changes: 2 additions & 2 deletions tests/providers/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from open_feature import open_feature_api as api
from openfeature import api

from open_feature_contrib.providers.flagd import FlagdProvider
from openfeature.contrib.providers.flagd import FlagdProvider


@pytest.fixture()
Expand Down
4 changes: 2 additions & 2 deletions tests/providers/test_flagd.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from numbers import Number

from open_feature import open_feature_api as api
from openfeature import api

from open_feature_contrib.providers.flagd import FlagdProvider
from openfeature.contrib.providers.flagd import FlagdProvider


def setup():
Expand Down