Change artifactType to artifact_type

This commit is contained in:
M-307 2022-07-18 01:51:39 +07:00
parent 21b5b23ab9
commit cfa2b51bd4

View File

@ -39,17 +39,11 @@ class EquipmentsStats(BaseModel):
class EquipmentsDetail(BaseModel): class EquipmentsDetail(BaseModel):
"""
API Response
"""
nameTextMapHash: str = ""
setnameTextMapHash: str = ""
""" """
Custom data Custom data
""" """
name: str = "" # Get from name hash map name: str = "" # Get from name hash map
artifactType: EquipType = EquipType.Unknown # Type of artifact artifact_type: EquipType = EquipType.Unknown # Type of artifact
icon: str = "" icon: str = ""
rarity: int = Field(0, alias="rankLevel") rarity: int = Field(0, alias="rankLevel")
mainstats: EquipmentsStats = Field(None, alias="reliquaryMainstat") mainstats: EquipmentsStats = Field(None, alias="reliquaryMainstat")