diff --git a/README.md b/README.md index 64ca216..ffd3909 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# FastAPI Worksohp +# FastAPI Workshop A tiny FastAPI application built for practicing open-source contributions. This project is designed for third-year CS students participating in diff --git a/app/main.py b/app/main.py index bf69788..1c291c2 100644 --- a/app/main.py +++ b/app/main.py @@ -25,8 +25,8 @@ def health_check(): @app.get("/sum") -def compute_sum(a: int = Query(...), b: int = Query(...)): - return {"result": a * b} +def compute_sum(a: int = Query(...), b: int = Query(...)) -> dict[str,int]: + return {"result": a * b} def format_profile(data):