删除无用代码并且新增流程图相关内容

This commit is contained in:
2025-10-11 23:29:56 +08:00
parent 0f3f2d256f
commit 4168d41a16
33 changed files with 776 additions and 722 deletions

View File

@@ -4,7 +4,6 @@ WebSocket consumers for submission updates
import json
import logging
from channels.generic.websocket import AsyncWebsocketConsumer
from channels.db import database_sync_to_async
logger = logging.getLogger(__name__)
@@ -73,7 +72,7 @@ class SubmissionConsumer(AsyncWebsocketConsumer):
async def submission_update(self, event):
"""
接收来自 channel layer 的提交更新消息并发送给客户端
接收来自 channel layer 的代码提交更新消息并发送给客户端
这个方法名对应 push_submission_update 中的 type 字段
"""
try: