Skip to content

Commit a636536

Browse files
authored
fix: use-typing-extension (#188)
1 parent d18c71e commit a636536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flagsmith/api/types.py

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

33
from flag_engine.engine import ContextValue
44
from flag_engine.segments.types import ConditionOperator, RuleType
5-
from typing_extensions import NotRequired
5+
from typing_extensions import NotRequired, TypedDict
66

77

88
class SegmentConditionModel(typing.TypedDict):
@@ -70,7 +70,7 @@ class EnvironmentModel(typing.TypedDict):
7070
project: ProjectModel
7171

7272

73-
class TraitModel(typing.TypedDict):
73+
class TraitModel(TypedDict):
7474
trait_key: str
7575
trait_value: ContextValue
7676
transient: NotRequired[bool]

0 commit comments

Comments
 (0)