From 461327749fc7b7fb32a9a383734fe20f11b866c1 Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Thu, 20 Mar 2025 03:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E7=88=86=E7=82=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../games/tetrio/api/schemas/leaderboards/by.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/leaderboards/by.py b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/leaderboards/by.py index e30031a..8bcf43f 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/leaderboards/by.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/leaderboards/by.py @@ -16,16 +16,17 @@ class BaseLeague(BaseModel): bestrank: ValidRank glicko: float rd: float - pps: float decaying: bool class InvalidLeague(BaseLeague): + pps: float | None apm: None vs: None class League(BaseLeague): + pps: float apm: float vs: float