|
@@ -1,16 +1,16 @@
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
-from pathlib import Path
|
|
|
-from functools import lru_cache
|
|
|
import logging
|
|
|
+from functools import lru_cache
|
|
|
+from pathlib import Path
|
|
|
|
|
|
import uvicorn
|
|
|
from fastapi import FastAPI, Depends
|
|
|
from loguru import logger
|
|
|
|
|
|
from app.api.routers import targets, equipment, space
|
|
|
-from app.core.logger import InterceptHandler
|
|
|
from app.core.config import LoggerSettings
|
|
|
+from app.core.logger import InterceptHandler
|
|
|
|
|
|
logger_settings = LoggerSettings()
|
|
|
logging.getLogger().handlers = [InterceptHandler()]
|