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 3468335 commit c1bcf38Copy full SHA for c1bcf38
src/thread/utils/config.py
@@ -1,3 +1,16 @@
1
+from typing import Any, Literal, Union, Callable
2
+
3
4
+_Verbosity_Num = Literal[0, 1, 2]
5
+_Verbosity_Enum = Literal['quiet', 'normal', 'verbose']
6
+VerbosityLevel = Union[_Verbosity_Num, _Verbosity_Enum]
7
+VerbosityMapping: dict[_Verbosity_Enum, _Verbosity_Num] = {
8
+ 'quiet': 0,
9
+ 'normal': 1,
10
+ 'verbose': 2,
11
+}
12
13
14
class Settings:
15
"""
16
# Settings
0 commit comments