ultimate-fastapi-tutorial
ultimate-fastapi-tutorial copied to clipboard
Fix incorrect return type annotation for root function from dict to HTMLResponse
As per the Using Jinja2Templates section of the FastAPI advanced user guide, functions returning templates should have their return type annotated as HTMLResponse.