Coverage for tests / test_modules_same_name_body / app / a.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.3, created at 2026-02-12 18:15 +0000
« prev ^ index » next coverage.py v7.13.3, created at 2026-02-12 18:15 +0000
1from fastapi import APIRouter, Body 1abcd
3router = APIRouter() 1abcd
6@router.post("/compute") 1abcd
7def compute(a: int = Body(), b: str = Body()): 1abcd
8 return {"a": a, "b": b} 1efg