mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
fc4c09ae0b
remove PyPEP8 E501 example `asyncio.loop` to `asyncio.run` examples: pass all
14 lines
293 B
Python
14 lines
293 B
Python
from pydantic import BaseModel
|
|
from typing import Any
|
|
|
|
from ..utils import create_ui_path
|
|
|
|
class IconAsset(BaseModel):
|
|
filename: str = ""
|
|
url: str = ""
|
|
|
|
def __init__(self, **data: Any) -> None:
|
|
super().__init__(**data)
|
|
|
|
self.url = create_ui_path(self.filename)
|