mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-25 15:42:16 +00:00
🐛 Fix the issue of incorrect parameter passing when using Field
This commit is contained in:
parent
83680dc77d
commit
08f42a47ee
@ -177,7 +177,7 @@ class PartialGenshinUserStats(APIModel):
|
|||||||
teapot (Optional[Teapot]): The user's Serenitea Teapot.
|
teapot (Optional[Teapot]): The user's Serenitea Teapot.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
info: UserInfo = Field("role")
|
info: UserInfo = Field(aliases="role")
|
||||||
stats: Stats
|
stats: Stats
|
||||||
characters: List[PartialCharacter] = Field(aliases="avatars")
|
characters: List[PartialCharacter] = Field(aliases="avatars")
|
||||||
explorations: List[Exploration] = Field(aliases="world_explorations")
|
explorations: List[Exploration] = Field(aliases="world_explorations")
|
||||||
|
Loading…
Reference in New Issue
Block a user