restore Context_T for compatibility

This commit is contained in:
Richard Chien 2020-03-16 20:24:50 +08:00
parent 1625be957a
commit 0ac6a03f0a

View File

@ -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, ...]