mirror of https://github.com/encode/starlette.git
fix(Missing annotation): missing annotations added on routing module. (#71)
This commit is contained in:
parent
12e4ef60d7
commit
a24aa3dfe7
|
@ -105,7 +105,7 @@ class Router:
|
||||||
|
|
||||||
|
|
||||||
class ProtocolRouter:
|
class ProtocolRouter:
|
||||||
def __init__(self, protocols: typing.Dict[str, ASGIApp]):
|
def __init__(self, protocols: typing.Dict[str, ASGIApp]) -> None:
|
||||||
self.protocols = protocols
|
self.protocols = protocols
|
||||||
|
|
||||||
def __call__(self, scope: Scope) -> ASGIInstance:
|
def __call__(self, scope: Scope) -> ASGIInstance:
|
||||||
|
|
Loading…
Reference in New Issue