Skip to content

Commit 9ab732a

Browse files
committed
update trait type
1 parent 6f524dd commit 9ab732a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flag_engine/context/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from typing_extensions import NotRequired
1010

11-
from flag_engine.segments.types import ConditionOperator, RuleType
11+
from flag_engine.segments.types import ConditionOperator, ContextValue, RuleType
1212

1313

1414
class EnvironmentContext(TypedDict):
@@ -24,7 +24,7 @@ class FeatureValue(TypedDict):
2424
class IdentityContext(TypedDict):
2525
identifier: str
2626
key: str
27-
traits: NotRequired[Dict[str, Optional[Union[str, float, bool]]]]
27+
traits: NotRequired[Dict[str, ContextValue]]
2828

2929

3030
class StrValueSegmentCondition(TypedDict):

0 commit comments

Comments
 (0)