python-genshin-artifact/python_genshin_artifact/models/weapon.py

12 lines
192 B
Python
Raw Normal View History

2023-05-16 09:25:12 +00:00
from typing import Union
2023-05-14 04:29:29 +00:00
from pydantic import BaseModel
class WeaponInfo(BaseModel):
name: str
level: int
ascend: bool
refine: int
2023-05-16 09:25:12 +00:00
params: Union[str, dict] = "NoConfig"