🎨 Refactor BaseCharacter class by updating type of 'rarity' attribute

This commit is contained in:
洛水居室 2023-07-21 11:05:51 +08:00
parent 19acdb26f1
commit 63ce8a249e
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -24,7 +24,7 @@ class BaseCharacter(APIModel):
id: int
name: Optional[str] = None
element: Optional[str] = None
rarity: Optional[str] = None
rarity: Optional[int] = None
icon: Optional[str] = None
collab: bool = False