Skip to content

Commit 2e21bc6

Browse files
authored
1 parent fd010ad commit 2e21bc6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

statsig/statsig_user.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
from dataclasses import dataclass
2-
from typing import Optional, Union, Sequence, Mapping, Dict
2+
from typing import Optional, Union, Sequence, Mapping, Dict # pylint: disable=unused-import
3+
4+
from typing_extensions import TypeAliasType
35

46
from .statsig_environment_tier import StatsigEnvironmentTier
57
from .statsig_errors import StatsigValueError
68
from .utils import str_or_none, to_raw_dict_or_none, djb2_hash_for_dict
79

810
JSONPrimitive = Union[str, int, float, bool, None]
9-
JSONValue = Union[JSONPrimitive, Sequence["JSONValue"], Mapping[str, "JSONValue"]]
11+
JSONValue = TypeAliasType("JSONValue", 'Union[JSONPrimitive, Sequence["JSONValue"], Mapping[str, "JSONValue"]]')
1012

1113

1214
@dataclass

0 commit comments

Comments
 (0)