fix(data-ana): ruff 自动修复代码风格

This commit is contained in:
SpecialX
2026-07-08 12:52:33 +08:00
parent 3961a36308
commit 4fea3de1d1
3 changed files with 9 additions and 4 deletions

View File

@@ -8,7 +8,8 @@
from health import router as health_router
app.include_router(health_router)
"""
from datetime import datetime, timezone
from datetime import UTC, datetime
from fastapi import APIRouter
@@ -30,5 +31,5 @@ async def readyz() -> dict:
return {
"status": "ok",
"service": SERVICE_NAME,
"timestamp": datetime.now(timezone.utc).isoformat(),
"timestamp": datetime.now(UTC).isoformat(),
}