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 d18c71e commit a636536Copy full SHA for a636536
flagsmith/api/types.py
@@ -2,7 +2,7 @@
2
3
from flag_engine.engine import ContextValue
4
from flag_engine.segments.types import ConditionOperator, RuleType
5
-from typing_extensions import NotRequired
+from typing_extensions import NotRequired, TypedDict
6
7
8
class SegmentConditionModel(typing.TypedDict):
@@ -70,7 +70,7 @@ class EnvironmentModel(typing.TypedDict):
70
project: ProjectModel
71
72
73
-class TraitModel(typing.TypedDict):
+class TraitModel(TypedDict):
74
trait_key: str
75
trait_value: ContextValue
76
transient: NotRequired[bool]
0 commit comments