Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 609 for tutorial013_py39 (0.07 sec)

  1. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial003_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest) -> TestClient:
        mod = importlib.import_module(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. docs/ru/docs/advanced/response-cookies.md

    Вы можете объявить параметр типа `Response` в вашей функции-обработчике пути.
    
    Затем установить cookies в этом временном объекте ответа.
    
    {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *}
    
    После этого можно вернуть любой объект, как и раньше (например, `dict`, объект модели базы данных и так далее).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_extra_models/test_tutorial001_tutorial002.py

    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[2,6:38,41:43] *}
    
    ## Einen `websocket` erstellen { #create-a-websocket }
    
    Erstellen Sie in Ihrer **FastAPI**-Anwendung einen `websocket`:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Technische Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[2,6:38,41:43] *}
    
    ## Создание `websocket` { #create-a-websocket }
    
    Создайте `websocket` в своем **FastAPI** приложении:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette.websockets import WebSocket`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    For example:
    
    {* ../../docs_src/behind_a_proxy/tutorial003_py39.py hl[4:7] *}
    
    Will generate an OpenAPI schema like:
    
    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-status-code.md

    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    `201` ist der Statuscode für „Created“ („Erzeugt“).
    
    Aber Sie müssen sich nicht merken, was jeder dieser Codes bedeutet.
    
    Sie können die Annehmlichkeit von Variablen aus `fastapi.status` nutzen.
    
    {* ../../docs_src/response_status_code/tutorial002_py39.py hl[1,6] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/response-status-code.md

    Рассмотрим предыдущий пример еще раз:
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    `201` – это код статуса "Создано".
    
    Но вам не обязательно запоминать, что означает каждый из этих кодов.
    
    Для удобства вы можете использовать переменные из `fastapi.status`.
    
    {* ../../docs_src/response_status_code/tutorial002_py39.py hl[1,6] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. docs_src/app_testing/tutorial004_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. docs_src/response_change_status_code/tutorial001_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 391 bytes
    - Viewed (0)
Back to top