From 63ce8a249efdbd8830f3e5d616fc5132d0572fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Fri, 21 Jul 2023 11:05:51 +0800 Subject: [PATCH] :art: Refactor `BaseCharacter` class by updating type of 'rarity' attribute --- simnet/models/genshin/character.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simnet/models/genshin/character.py b/simnet/models/genshin/character.py index b66ac75..e07a4aa 100644 --- a/simnet/models/genshin/character.py +++ b/simnet/models/genshin/character.py @@ -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