mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🐛 修复 io user info 解析错误的bug
This commit is contained in:
@@ -29,9 +29,9 @@ class SuccessModel(BaseSuccessModel):
|
|||||||
prev_at: Literal[-1]
|
prev_at: Literal[-1]
|
||||||
percentile: Literal[-1]
|
percentile: Literal[-1]
|
||||||
percentile_rank: Literal['z']
|
percentile_rank: Literal['z']
|
||||||
apm: None
|
apm: None = Field(None)
|
||||||
pps: None
|
pps: None = Field(None)
|
||||||
vs: None
|
vs: None = Field(None)
|
||||||
decaying: bool
|
decaying: bool
|
||||||
|
|
||||||
class NeverRatedLeague(BaseModel):
|
class NeverRatedLeague(BaseModel):
|
||||||
@@ -111,7 +111,7 @@ class SuccessModel(BaseSuccessModel):
|
|||||||
Ignore this field if the user is not a supporter."""
|
Ignore this field if the user is not a supporter."""
|
||||||
bio: str | None
|
bio: str | None
|
||||||
connections: Connections
|
connections: Connections
|
||||||
friend_count: int
|
friend_count: int | None
|
||||||
distinguishment: Distinguishment | None
|
distinguishment: Distinguishment | None
|
||||||
|
|
||||||
user: User
|
user: User
|
||||||
|
|||||||
Reference in New Issue
Block a user