🐛 修复 io user info 解析错误的bug

This commit is contained in:
2023-11-15 00:07:05 +08:00
parent d31ce48a18
commit e0bd0a9252

View File

@@ -29,9 +29,9 @@ class SuccessModel(BaseSuccessModel):
prev_at: Literal[-1]
percentile: Literal[-1]
percentile_rank: Literal['z']
apm: None
pps: None
vs: None
apm: None = Field(None)
pps: None = Field(None)
vs: None = Field(None)
decaying: bool
class NeverRatedLeague(BaseModel):
@@ -111,7 +111,7 @@ class SuccessModel(BaseSuccessModel):
Ignore this field if the user is not a supporter."""
bio: str | None
connections: Connections
friend_count: int
friend_count: int | None
distinguishment: Distinguishment | None
user: User