mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-04 01:10:36 +00:00
style: 整理代码导入顺序并修复换行问题
1. 移除未使用的io导入和多余空行 2. 调整多个文件的fastapi导入模块顺序 3. 统一fastapi_cache导入位置 4. 修复middlewares文件末尾缺失的换行
This commit is contained in:
@@ -9,7 +9,6 @@ from starlette.websockets import WebSocket
|
||||
|
||||
from app.config.setting import settings
|
||||
|
||||
|
||||
# 全局限流器 —— slowapi 通过 storage_uri 创建自己的 Redis 连接
|
||||
limiter = Limiter(
|
||||
key_func=get_remote_address,
|
||||
|
||||
Reference in New Issue
Block a user