python-genshin-artifact/python_genshin_artifact/models/weapon.py
洛水居室 aa9049f851
🐛 Fix bug
2023-05-16 17:25:12 +08:00

12 lines
192 B
Python

from typing import Union
from pydantic import BaseModel
class WeaponInfo(BaseModel):
name: str
level: int
ascend: bool
refine: int
params: Union[str, dict] = "NoConfig"