🎨 重命名 TETRIOInfo 类

This commit is contained in:
2024-05-17 10:45:21 +08:00
parent 9b13a9e87c
commit 1a791f5ef8
3 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ from nonebot.compat import PYDANTIC_V2
from ..templates import templates_dir
from .schemas.bind import Bind
from .schemas.tetrio_info import TETRIOInfo
from .schemas.tetrio_info import Info as TETRIOInfo
env = Environment(
loader=FileSystemLoader(templates_dir), autoescape=True, trim_blocks=True, lstrip_blocks=True, enable_async=True
@@ -26,4 +26,4 @@ async def render(render_type: Literal['binding', 'tetrio/info'], data: Bind | TE
return await env.get_template('index.html').render_async(path=render_type, data=data.json())
__all__ = ['render', 'Bind', 'TETRIOInfo']
__all__ = ['render', 'Bind']