From 8e10cfe0d008066f311c242cda6bfa3dfff96162 Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Sat, 17 Aug 2024 04:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E6=9C=80=E4=BD=B3?= =?UTF-8?q?=E6=AE=B5=E4=BD=8D=E4=B8=BA=20z=20=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/summaries/league.py | 2 +- .../utils/render/schemas/tetrio/user/info_v2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py index d141516..2b0a4f0 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py @@ -35,7 +35,7 @@ class Data(BaseModel): gxe: float tr: float rank: Rank - bestrank: ValidRank = Field('z') + bestrank: Rank = Field('z') apm: float pps: float vs: float diff --git a/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py b/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py index 2c4cb0c..a561eb3 100644 --- a/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py +++ b/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py @@ -53,7 +53,7 @@ class TetraLeagueStatistic(BaseModel): class TetraLeague(BaseModel): rank: Rank - highest_rank: ValidRank + highest_rank: Rank tr: Number