Skip to content

Commit 573624d

Browse files
committed
chore: use-engine-mapper-and-bump-version
1 parent 8bd5175 commit 573624d

File tree

4 files changed

+8
-263
lines changed

4 files changed

+8
-263
lines changed

flagsmith/flagsmith.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import pydantic
77
import requests
88
from flag_engine import engine
9+
from flag_engine.context.mappers import map_environment_identity_to_context
910
from flag_engine.environments.models import EnvironmentModel
1011
from flag_engine.identities.models import IdentityModel
1112
from flag_engine.identities.traits.models import TraitModel
@@ -16,7 +17,6 @@
1617

1718
from flagsmith.analytics import AnalyticsProcessor
1819
from flagsmith.exceptions import FlagsmithAPIError, FlagsmithClientError
19-
from flagsmith.mappers import map_environment_identity_to_context
2020
from flagsmith.models import DefaultFlag, Flags, Segment
2121
from flagsmith.offline_handlers import BaseOfflineHandler
2222
from flagsmith.polling_manager import EnvironmentDataPollingManager

flagsmith/mappers.py

Lines changed: 0 additions & 251 deletions
This file was deleted.

poetry.lock

Lines changed: 6 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages = [{ include = "flagsmith" }]
1313
python = ">=3.8.1,<4"
1414
requests = "^2.32.3"
1515
requests-futures = "^1.0.1"
16-
flagsmith-flag-engine = { git = "https://github.com/flagsmith/flagsmith-engine", branch = "feat/v7-get-evaluation-result" }
16+
flagsmith-flag-engine = "^6.1.0"
1717
sseclient-py = "^1.8.0"
1818
pydantic = "^2"
1919

0 commit comments

Comments
 (0)