Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 652 for tutorial001_py39 (0.68 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_fields/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_py39",
            pytest.param("tutorial001_py310", marks=needs_py310),
            "tutorial001_an_py39",
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial001_py39.py hl[2,6] *}
    
    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Erzwingt, dass alle eingehenden Requests einen korrekt gesetzten `Host`-Header haben, um sich vor HTTP-Host-Header-Angriffen zu schützen.
    
    {* ../../docs_src/advanced_middleware/tutorial002_py39.py hl[2,6:8] *}
    
    Die folgenden Argumente werden unterstützt:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/metadata.md

    Sie können diese wie folgt setzen:
    
    {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *}
    
    /// tip | Tipp
    
    Sie können Markdown im Feld `description` verwenden, und es wird in der Ausgabe gerendert.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/metadata.md

    Puedes configurarlos de la siguiente manera:
    
    {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *}
    
    /// tip | Consejo
    
    Puedes escribir Markdown en el campo `description` y se mostrará en el resultado.
    
    ///
    
    Con esta configuración, la documentación automática de la API se vería así:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### Получение *значения перечисления* { #get-the-enumeration-value }
    
    Можно получить фактическое значение (в данном случае - `str`) с помощью `model_name.value` или в общем случае `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip | Подсказка
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/debugging.md

    ## `uvicorn` aufrufen { #call-uvicorn }
    
    Importieren und führen Sie `uvicorn` direkt in Ihrer FastAPI-Anwendung aus:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### Über `__name__ == "__main__"` { #about-name-main }
    
    Der Hauptzweck von `__name__ == "__main__"` ist, dass Code ausgeführt wird, wenn Ihre Datei mit folgendem Befehl aufgerufen wird:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/using-request-directly.md

    Vamos imaginar que você deseja obter o endereço de IP/host do cliente dentro da sua *função de operação de rota*.
    
    Para isso você precisa acessar a requisição diretamente.
    
    {* ../../docs_src/using_request_directly/tutorial001_py39.py hl[1,7:8] *}
    
    Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro.
    
    /// tip | Dica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial001_an_py39"),
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/graphql.md

    Here's a small preview of how you could integrate Strawberry with FastAPI:
    
    {* ../../docs_src/graphql_/tutorial001_py39.py hl[3,22,25] *}
    
    You can learn more about Strawberry in the <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top