diff --git a/tests/typing/typing_route.py b/tests/typing/typing_route.py index ba49d132..db0545d4 100644 --- a/tests/typing/typing_route.py +++ b/tests/typing/typing_route.py @@ -41,7 +41,8 @@ def tuple_status_enum() -> tuple[str, int]: def tuple_headers() -> tuple[str, dict[str, str]]: return "Hello, World!", {"Content-Type": "text/plain"} - +#Returns "index.html" when "/template" or "/template" with parameter "name" included is accessed by the user +#"name" is passed as an argument for the html document when rendering it only if it was specified in the url @app.route("/template") @app.route("/template/") def return_template(name: str | None = None) -> str: