EnkaNetwork.py/enkanetwork/model/__init__.py

14 lines
389 B
Python
Raw Normal View History

2022-11-19 10:02:11 +00:00
from pydantic import BaseModel, Field
from typing import List
from .players import *
from .character import *
from .equipments import *
from .players import *
from .stats import *
2022-11-19 10:02:11 +00:00
# from .base import *
class EnkaNetworkResponse(BaseModel):
player: PlayerInfo = Field(None, alias="playerInfo")
characters: List[CharacterInfo] = Field(None, alias="avatarInfoList")
ttl: int = 0