Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for delete (0.14 sec)

  1. fastapi/openapi/docs.py

                        });
                    }
    
                    if (qp.code) {
                        delete oauth2.state;
                        oauth2.auth.code = qp.code;
                        oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
                    } else {
                        let oauthErrorMsg;
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        summary: Optional[str] = None
        description: Optional[str] = None
        get: Optional[Operation] = None
        put: Optional[Operation] = None
        post: Optional[Operation] = None
        delete: Optional[Operation] = None
        options: Optional[Operation] = None
        head: Optional[Operation] = None
        patch: Optional[Operation] = None
        trace: Optional[Operation] = None
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. fastapi/applications.py

            Add a *path operation* using an HTTP DELETE operation.
    
            ## Example
    
            ```python
            from fastapi import FastAPI
    
            app = FastAPI()
    
            @app.delete("/items/{item_id}")
            def delete_item(item_id: str):
                return {"message": "Item deleted"}
            ```
            """
            return self.router.delete(
                path,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

            """
            Add a *path operation* using an HTTP DELETE operation.
    
            ## Example
    
            ```python
            from fastapi import APIRouter, FastAPI
    
            app = FastAPI()
            router = APIRouter()
    
            @router.delete("/items/{item_id}")
            def delete_item(item_id: str):
                return {"message": "Item deleted"}
    
            app.include_router(router)
            ```
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top