ruff fix但指定了--unsafe-fixes

This commit is contained in:
minecraft1024a
2025-10-05 21:48:32 +08:00
parent 0b4e1f5b7b
commit 9d705463ce
76 changed files with 300 additions and 315 deletions

View File

@@ -733,7 +733,7 @@ class ChatManager:
try:
from src.common.database.db_batch_scheduler import batch_update, get_batch_session
async with get_batch_session() as scheduler:
async with get_batch_session():
# 使用批量更新
result = await batch_update(
model_class=ChatStreams,