Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trace_item (0.13 sec)

  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,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

            ## Example
    
            ```python
            from fastapi import FastAPI
    
            app = FastAPI()
    
            @app.put("/items/{item_id}")
            def trace_item(item_id: str):
                return None
            ```
            """
            return self.router.trace(
                path,
                response_model=response_model,
                status_code=status_code,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
Back to top