mirror of
https://github.com/PaiGramTeam/python-genshin-artifact.git
synced 2024-11-25 09:17:27 +00:00
15 lines
250 B
Python
15 lines
250 B
Python
from typing import Union
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class CharacterInfo(BaseModel):
|
|
name: str
|
|
level: int
|
|
ascend: bool
|
|
constellation: int
|
|
skill1: int
|
|
skill2: int
|
|
skill3: int
|
|
params: Union[str, dict] = "NoConfig"
|