Type hinting support for Python 3.5
@@ -5,7 +5,7 @@ from typing import Callable, List, Any, Dict
async def execute_middlewares(func: Callable, routine_func: Callable, middlewares: List, *args: Any) -> Any:
if middlewares:
- middleware_context: Dict = {}
+ middleware_context = {} # type: Dict
async def middleware_bubble(idx: int = 0, *ma: Any, **mkw: Any) -> Any:
@functools.wraps(func)
