mirror of
https://github.com/PaiGramTeam/python-genshin-artifact.git
synced 2024-11-29 10:23:16 +00:00
12 lines
192 B
Python
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"
|