From 0ac6a03f0a8fee77c12f4cf37c37400643b61c68 Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Mon, 16 Mar 2020 20:24:50 +0800 Subject: [PATCH] restore Context_T for compatibility --- nonebot/typing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nonebot/typing.py b/nonebot/typing.py index 486549cb..121ef6d5 100644 --- a/nonebot/typing.py +++ b/nonebot/typing.py @@ -1,5 +1,6 @@ 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]]] Expression_T = Union[str, Sequence[str], Callable] CommandName_T = Tuple[str, ...]