Linting
This commit is contained in:
1 parent
1be2f45a0c
commit
ed38d00418
2 files changed
+1
-2
No files matched your search
@@ -5,4 +5,4 @@ from .logger_handler import (
|
|||||||
setup_logger,
|
setup_logger,
|
||||||
)
|
)
|
||||||
|
|
||||||
__all__ = ["setup_logger", "configure_logging", "adopt_uvicorn_loggers", "LOG_LEVEL"]
|
__all__ = ["LOG_LEVEL", "adopt_uvicorn_loggers", "configure_logging", "setup_logger"]
|
||||||
@@ -4,7 +4,6 @@ import threading
|
|||||||
|
|
||||||
from pythonjsonlogger.json import JsonFormatter
|
from pythonjsonlogger.json import JsonFormatter
|
||||||
|
|
||||||
|
|
||||||
_VALID_LEVELS = {"DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"}
|
_VALID_LEVELS = {"DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"}
|
||||||
_FORMAT = "%(asctime)s %(name)s %(levelname)s %(message)s"
|
_FORMAT = "%(asctime)s %(name)s %(levelname)s %(message)s"
|
||||||
_NOISY_LOGGERS = ("urllib3", "httpx", "httpcore", "asyncio", "multipart")
|
_NOISY_LOGGERS = ("urllib3", "httpx", "httpcore", "asyncio", "multipart")
|
||||||
|
|||||||
Reference in new issue
Block a user