File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- from typing import TYPE_CHECKING
1+ from typing import TYPE_CHECKING , TypeVar , Union
22
33
44# Re-exported for compat, since code out there in the wild might use this variable.
@@ -78,6 +78,9 @@ def substituted_because_contains_sensitive_data(cls):
7878 },
7979 )
8080
81+ T = TypeVar ("T" )
82+ Annotated = Union [AnnotatedValue , T ]
83+
8184
8285if TYPE_CHECKING :
8386 from collections .abc import Container , MutableMapping , Sequence
@@ -93,12 +96,8 @@ def substituted_because_contains_sensitive_data(cls):
9396 from typing import Optional
9497 from typing import Tuple
9598 from typing import Type
96- from typing import TypeVar
97- from typing import Union
9899 from typing_extensions import Literal , TypedDict
99100
100- T = TypeVar ("T" )
101- Annotated = Union [AnnotatedValue , T ]
102101
103102 class SDKInfo (TypedDict ):
104103 name : str
You can’t perform that action at this time.
0 commit comments