random qa

This commit is contained in:
春河晴
2025-06-10 16:41:28 +09:00
parent 4d32b3052f
commit cf39f2fe84
19 changed files with 34 additions and 66 deletions

View File

@@ -3,7 +3,6 @@ from typing import List, Dict, Any, Callable
from playhouse import shortcuts
# from src.common.database.database import db # Peewee db 导入
from src.common.database.database_model import Messages # Peewee Messages 模型导入
model_to_dict: Callable[..., dict] = shortcuts.model_to_dict # Peewee 模型转换为字典的快捷函数