From 86de504f77009ec76db136463d2b98a58e0813c3 Mon Sep 17 00:00:00 2001 From: MeloniJQ <148368607+MeloniJQ@users.noreply.github.com> Date: Sat, 14 Feb 2026 15:12:33 +0530 Subject: [PATCH] return type hint issue fixed --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index bf69788..ba3791a 100644 --- a/app/main.py +++ b/app/main.py @@ -25,7 +25,7 @@ def health_check(): @app.get("/sum") -def compute_sum(a: int = Query(...), b: int = Query(...)): +def compute_sum(a: int = Query(...), b: int = Query(...))-> dict[str, int]: return {"result": a * b}