Skip to content

Commit e2b8e84

Browse files
committed
Fixed mypy typing.
Signed-off-by: Pavel Kirilin <win10@list.ru>
1 parent d16b042 commit e2b8e84

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

aiohttp_deps/router.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ class Router(web.RouteTableDef):
1616
New types are introduced in stub file: router.pyi.
1717
"""
1818

19-
def add_routes(self, router: Iterable[web.RouteDef], prefix: str = "") -> None:
19+
def add_routes(
20+
self,
21+
router: Iterable[web.AbstractRouteDef],
22+
prefix: str = "",
23+
) -> None:
2024
"""
2125
Append another router's routes to this one.
2226

0 commit comments

Comments
 (0)