From a386300f389e3fe06e126c1a8d76aaac35e7d300 Mon Sep 17 00:00:00 2001 From: Liam <101684827+SkiingIsFun123@users.noreply.github.com> Date: Fri, 10 Jun 2022 00:30:59 -0700 Subject: [PATCH] Update typing_route.py --- tests/typing/typing_route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/typing/typing_route.py b/tests/typing/typing_route.py index db0545d4..5a677bc0 100644 --- a/tests/typing/typing_route.py +++ b/tests/typing/typing_route.py @@ -25,7 +25,7 @@ def hello_bytes() -> bytes: def hello_json() -> Response: return jsonify({"response": "Hello, World!"}) - +#Returns hello with the current status code when "/status" is accessed or "/status" is accessed with the parameter "code" @app.route("/status") @app.route("/status/") def tuple_status(code: int = 200) -> tuple[str, int]: