nonebot2/nonebot/typing.py
Richard Chien d88eda7c66 Revert "Add deprecate comment"
This reverts commit 366d7d9b
2019-01-25 18:30:44 +08:00

9 lines
297 B
Python

from typing import Union, List, Dict, Any, Sequence, Callable, Tuple
Context_T = Dict[str, Any]
Message_T = Union[str, Dict[str, Any], List[Dict[str, Any]]]
Expression_T = Union[str, Sequence[str], Callable]
CommandName_T = Tuple[str, ...]
CommandArgs_T = Dict[str, Any]
State_T = Dict[str, Any]