mirror of
https://github.com/PaiGramTeam/python-genshin-artifact.git
synced 2024-11-22 06:57:55 +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"
|