Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for trace_item (0.05 seconds)

  1. 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)
  2. fastapi/applications.py

            ## Example
    
            ```python
            from fastapi import FastAPI
    
            app = FastAPI()
    
            @app.trace("/items/{item_id}")
            def trace_item(item_id: str):
                return None
            ```
            """
            return self.router.trace(
                path,
                response_model=response_model,
                status_code=status_code,
    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)
Back to Top