Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stai (0.14 sec)

  1. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

            "servers": [
                {"url": "/api/v1"},
                {
                    "url": IsOneOf(
                        "https://stag.example.com/",
                        # TODO: remove when deprecating Pydantic v1
                        "https://stag.example.com",
                    ),
                    "description": "Staging environment",
                },
                {
                    "url": IsOneOf(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "servers": [
                {
                    "url": IsOneOf(
                        "https://stag.example.com/",
                        # TODO: remove when deprecating Pydantic v1
                        "https://stag.example.com",
                    ),
                    "description": "Staging environment",
                },
                {
                    "url": IsOneOf(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    **Example**
    
                    ```python
                    from fastapi import FastAPI
    
                    app = FastAPI(
                        servers=[
                            {"url": "https://stag.example.com", "description": "Staging environment"},
                            {"url": "https://prod.example.com", "description": "Production environment"},
                        ]
                    )
                    ```
    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)
Back to top