Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get_teleport (0.31 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial003_03.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/teleport": {
                    "get": {
                        "summary": "Get Teleport",
                        "operationId": "get_teleport_teleport_get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial003_03.py

    from fastapi import FastAPI
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/teleport")
    async def get_teleport() -> RedirectResponse:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 10 16:22:47 GMT 2023
    - 241 bytes
    - Viewed (0)
Back to top