🐛 修复 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] 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