From a24aa3dfe7234e8bf4a7050f9d4954db8b5fa54f Mon Sep 17 00:00:00 2001 From: Marcos Schroh Date: Wed, 26 Sep 2018 16:30:38 +0200 Subject: [PATCH] fix(Missing annotation): missing annotations added on routing module. (#71) --- starlette/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starlette/routing.py b/starlette/routing.py index 07378346..fe700e38 100644 --- a/starlette/routing.py +++ b/starlette/routing.py @@ -105,7 +105,7 @@ class Router: class ProtocolRouter: - def __init__(self, protocols: typing.Dict[str, ASGIApp]): + def __init__(self, protocols: typing.Dict[str, ASGIApp]) -> None: self.protocols = protocols def __call__(self, scope: Scope) -> ASGIInstance: