Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dev (0.13 sec)

  1. docs_src/custom_response/tutorial006c.py

    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/pydantic", response_class=RedirectResponse, status_code=302)
    async def redirect_pydantic():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 237 bytes
    - Viewed (0)
Back to top