📝 更新文档

This commit is contained in:
2024-10-29 00:44:47 +08:00
parent e6c45e5b1b
commit 4dd4555fc7
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ class DBConfig:
return res
async def clear_db(self):
"""清空数据库"""
"""清空数据库,用于单元测试清理环境"""
async with create_session() as sess:
await sess.execute(delete(User))
await sess.execute(delete(Target))