EnkaNetwork.py/enkanetwork/model/__init__.py
xSTACIA fc4c09ae0b renamed __pydantic_self__ to self
remove PyPEP8 E501
example `asyncio.loop` to `asyncio.run`

examples: pass all
2022-08-17 11:54:16 +07:00

14 lines
368 B
Python

from pydantic import BaseModel, Field
from typing import List
from .players import *
from .character import *
from .equipments import *
from .players import *
from .stats import *
class EnkaNetworkResponse(BaseModel):
player: PlayerInfo = Field(None, alias="playerInfo")
characters: List[CharacterInfo] = Field(None, alias="avatarInfoList")
ttl: int = 0