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