From 84a7a7018315017afce69e589b95eda0df5c462c Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Thu, 27 Jun 2024 14:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20=E7=A7=BB=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E7=9A=84=20type=20alias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_tetris_stats/utils/typing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nonebot_plugin_tetris_stats/utils/typing.py b/nonebot_plugin_tetris_stats/utils/typing.py index 5e18cab..0e499bd 100644 --- a/nonebot_plugin_tetris_stats/utils/typing.py +++ b/nonebot_plugin_tetris_stats/utils/typing.py @@ -1,10 +1,8 @@ -from collections.abc import Awaitable, Callable -from typing import Any, Literal +from typing import Literal Number = float | int GameType = Literal['IO', 'TOP', 'TOS'] CommandType = Literal['bind', 'query'] -AsyncCallable = Callable[..., Awaitable[Any]] Me = Literal[ '我', '自己',