- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for trace_item (0.05 seconds)
-
tests/test_extra_routes.py
@app.patch("/items/{item_id}") def patch_item(item_id: str, item: Item): return {"item_id": item_id, "item": item} @app.trace("/items/{item_id}") def trace_item(item_id: str): return JSONResponse(None, media_type="message/http") client = TestClient(app) def test_get_api_route(): response = client.get("/items/foo")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 14.7K bytes - Click Count (0) -
fastapi/routing.py
name: str description: str | None = None app = FastAPI() router = APIRouter() @router.trace("/items/{item_id}") def trace_item(item_id: str): return None app.include_router(router) ``` """ return self.api_route( path=path, response_model=response_model,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
fastapi/applications.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0)