We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f524dd commit 9ab732aCopy full SHA for 9ab732a
flag_engine/context/types.py
@@ -8,7 +8,7 @@
8
9
from typing_extensions import NotRequired
10
11
-from flag_engine.segments.types import ConditionOperator, RuleType
+from flag_engine.segments.types import ConditionOperator, ContextValue, RuleType
12
13
14
class EnvironmentContext(TypedDict):
@@ -24,7 +24,7 @@ class FeatureValue(TypedDict):
24
class IdentityContext(TypedDict):
25
identifier: str
26
key: str
27
- traits: NotRequired[Dict[str, Optional[Union[str, float, bool]]]]
+ traits: NotRequired[Dict[str, ContextValue]]
28
29
30
class StrValueSegmentCondition(TypedDict):
0 commit comments