From cfa2b51bd4091b4dc40c25a07680784200bd1b93 Mon Sep 17 00:00:00 2001 From: M-307 Date: Mon, 18 Jul 2022 01:51:39 +0700 Subject: [PATCH] Change artifactType to artifact_type --- enkanetwork/model/equipments.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/enkanetwork/model/equipments.py b/enkanetwork/model/equipments.py index 8e6cecb..2e6d4e2 100644 --- a/enkanetwork/model/equipments.py +++ b/enkanetwork/model/equipments.py @@ -39,17 +39,11 @@ class EquipmentsStats(BaseModel): class EquipmentsDetail(BaseModel): - """ - API Response - """ - nameTextMapHash: str = "" - setnameTextMapHash: str = "" - """ Custom data """ name: str = "" # Get from name hash map - artifactType: EquipType = EquipType.Unknown # Type of artifact + artifact_type: EquipType = EquipType.Unknown # Type of artifact icon: str = "" rarity: int = Field(0, alias="rankLevel") mainstats: EquipmentsStats = Field(None, alias="reliquaryMainstat")