From 52f69515e7ea3da3e0868e2a9b645adf8320f0d7 Mon Sep 17 00:00:00 2001 From: Lavisha23 <148408938+Lavisha23@users.noreply.github.com> Date: Sat, 14 Feb 2026 15:08:42 +0530 Subject: [PATCH] add return type --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index bf69788..53f8f2a 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: return {"result": a * b}