style: 整理代码导入顺序并修复换行问题

1. 移除未使用的io导入和多余空行
2. 调整多个文件的fastapi导入模块顺序
3. 统一fastapi_cache导入位置
4. 修复middlewares文件末尾缺失的换行
This commit is contained in:
zhangtao
2026-07-01 00:39:32 +08:00
parent a86233d6c2
commit fa5bfc2a4f
22 changed files with 32 additions and 34 deletions
+1 -1
View File
@@ -250,4 +250,4 @@ class TenantMiddleware(BaseHTTPMiddleware):
try:
return await call_next(request)
finally:
clear_current_tenant()
clear_current_tenant()