Proper argparse and better logging system
This commit is contained in:
1 parent
2d63b24c8f
commit
39363a0aee
5 files changed
+84
-47
No files matched your search
@@ -1,6 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from copy import copy
|
||||
from datetime import timedelta
|
||||
from typing import Any, Optional, Union, Dict, Callable
|
||||
@@ -9,7 +8,6 @@ from typing import Any, Optional, Union, Dict, Callable
|
||||
JsonType = Dict[str, Any]
|
||||
TopicProcess = Callable[[JsonType], Any]
|
||||
# Values
|
||||
DEBUG_RAW = logging.DEBUG - 1
|
||||
MAX_WEBSOCKETS = 8
|
||||
WS_TOPICS_LIMIT = 50
|
||||
# URLs
|
||||
|
||||
Reference in new issue
Block a user