Skip to content

Commit c4bab32

Browse files
janheinifscherf
authored andcommitted
server: reverse: fix kwargs type annotation
When annotating kwargs the type annotation refers to the type of the items within the dict. Drop the encapsulating dict in the type annotation of Server.reverse. This is already done correctly in other places around the codebase. Signed-off-by: Jan Heinemeyer <j.heinemeyer@pengutronix.de>
1 parent 319916d commit c4bab32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lona/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ def reverse(
990990
self,
991991
route_name: str,
992992
*args: Any,
993-
**kwargs: dict[str, Any],
993+
**kwargs: Any,
994994
) -> str:
995995

996996
"""

0 commit comments

Comments
 (0)