Fix typing

This commit is contained in:
Richard Chien 2018-11-10 10:16:59 +08:00
parent 178a915251
commit e0cebd6a7a

View File

@ -3,5 +3,5 @@ from typing import Union, List, Dict, Any, Sequence, Callable, Tuple
Context_T = Dict[str, Any] 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, ...]
CommandArgs_T = Dict[str, Any] CommandArgs_T = Dict[str, Any]