mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
restore Context_T for compatibility
This commit is contained in:
parent
1625be957a
commit
0ac6a03f0a
@ -1,5 +1,6 @@
|
|||||||
from typing import Union, List, Dict, Any, Sequence, Callable, Tuple, Awaitable
|
from typing import Union, List, Dict, Any, Sequence, Callable, Tuple, Awaitable
|
||||||
|
|
||||||
|
Context_T = Dict[str, Any]
|
||||||
Message_T = Union[str, Dict[str, Any], List[Dict[str, Any]]]
|
Message_T = Union[str, Dict[str, Any], List[Dict[str, Any]]]
|
||||||
Expression_T = Union[str, Sequence[str], Callable]
|
Expression_T = Union[str, Sequence[str], Callable]
|
||||||
CommandName_T = Tuple[str, ...]
|
CommandName_T = Tuple[str, ...]
|
||||||
|
Loading…
Reference in New Issue
Block a user