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 821b06d commit 314f504Copy full SHA for 314f504
typer/_typing.py
@@ -10,7 +10,6 @@
10
TYPE_CHECKING,
11
AbstractSet,
12
Any,
13
- Callable as TypingCallable,
14
ClassVar,
15
Dict,
16
ForwardRef,
@@ -26,9 +25,16 @@
26
25
Union,
27
_eval_type,
28
cast,
+ get_type_hints,
29
+)
30
+from typing import (
31
+ Callable as TypingCallable,
32
33
34
get_args as _typing_get_args,
35
36
37
get_origin as _typing_get_origin,
- get_type_hints,
38
)
39
40
from typing_extensions import Annotated, Literal
typer/rich_utils.py
@@ -20,7 +20,6 @@
20
from rich.text import Text
21
from rich.theme import Theme
22
23
-
24
# Default styles
STYLE_OPTION = "bold cyan"
STYLE_SWITCH = "bold green"
0 commit comments