modify: ruff 清理 + 单例锁持有者释放 + 移除死代码
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ async def main():
|
||||
res = await sess.execute(select(Users))
|
||||
rows = res.scalars().all()
|
||||
|
||||
print(f"✅ 4 个并发启动全部成功")
|
||||
print("✅ 4 个并发启动全部成功")
|
||||
print(f"✅ users 表记录数: {len(rows)}(应为 1)")
|
||||
for u in rows:
|
||||
print(f" - {u.username} <{u.email}> superuser={u.is_superuser}")
|
||||
|
||||
Reference in New Issue
Block a user