Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for prod (0.27 sec)

  1. tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py

                    ),
                    "description": "Staging environment",
                },
                {
                    "url": IsOneOf(
                        "https://prod.example.com/",
                        # TODO: remove when deprecating Pydantic v1
                        "https://prod.example.com",
                    ),
                    "description": "Production environment",
                },
            ],
            "paths": {
                "/app": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. docs_src/behind_a_proxy/tutorial003.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(
        servers=[
            {"url": "https://stag.example.com", "description": "Staging environment"},
            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 10 17:28:18 GMT 2020
    - 405 bytes
    - Viewed (0)
  3. docs_src/behind_a_proxy/tutorial004.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(
        servers=[
            {"url": "https://stag.example.com", "description": "Staging environment"},
            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
        root_path_in_servers=False,
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 10 17:28:18 GMT 2020
    - 437 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

                    ),
                    "description": "Staging environment",
                },
                {
                    "url": IsOneOf(
                        "https://prod.example.com/",
                        # TODO: remove when deprecating Pydantic v1
                        "https://prod.example.com",
                    ),
                    "description": "Production environment",
                },
            ],
            "paths": {
                "/app": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  5. tests/test_openapi_servers.py

                    "description": "Staging but actually localhost still",
                },
                {
                    "url": IsOneOf(
                        "https://prod.example.com/",
                        # TODO: remove when deprecating Pydantic v1
                        "https://prod.example.com",
                    )
                },
            ],
            "paths": {
                "/foo": {
                    "get": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. docs/en/data/external_links.yml

      - author: William Hayes
        author_link: https://medium.com/@williamhayes
        link: https://medium.com/@williamhayes/fastapi-starlette-debug-vs-prod-5f7561db3a59
        title: FastAPI/Starlette debug vs prod
      - author: Mukul Mantosh
        author_link: https://twitter.com/MantoshMukul
        link: https://www.jetbrains.com/pycharm/guide/tutorials/fastapi-aws-kubernetes/
    Others
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  7. docs/zh/docs/advanced/behind-a-proxy.md

            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    !!! tip "提示"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/behind-a-proxy.md

            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  9. docs/de/docs/advanced/behind-a-proxy.md

            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // Hier mehr Einstellungen
        }
    }
    ```
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. fastapi/applications.py

                    app = FastAPI(
                        servers=[
                            {"url": "https://stag.example.com", "description": "Staging environment"},
                            {"url": "https://prod.example.com", "description": "Production environment"},
                        ]
                    )
                    ```
                    """
                ),
            ] = None,
            dependencies: Annotated[
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top