Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 641 for tutorial006_py39 (0.37 sec)

  1. docs/es/docs/advanced/settings.md

    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info | Información
    
    En Pydantic v1 importarías `BaseSettings` directamente desde `pydantic` en lugar de desde `pydantic_settings`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/cors.md

    * Credentials (Authorization headers, Cookies, etc).
    * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`.
    * Specific HTTP headers or all of them with the wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    como em:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Suporte de editor em todo canto { #editor-support-everywhere }
    
    E você obtém suporte do editor em todos os lugares.
    
    Mesmo para itens dentro de listas:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/testing.md

    Schreiben Sie einfache `assert`-Anweisungen mit den Standard-Python-Ausdrücken, die Sie überprüfen müssen (wiederum, Standard-`pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Tipp
    
    Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind.
    
    Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/testing.md

    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial004.py

    from unittest.mock import patch
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
            pytest.param("tutorial004_an_py39"),
            pytest.param("tutorial004_an_py310", marks=needs_py310),
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    como en:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Soporte de editor en todas partes { #editor-support-everywhere }
    
    Y obtienes soporte de editor en todas partes.
    
    Incluso para elementos dentro de listas:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005.py

    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial005_py39"),
            pytest.param("tutorial005_py310", marks=needs_py310),
            pytest.param("tutorial005_an_py39"),
            pytest.param("tutorial005_an_py310", marks=needs_py310),
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image05.png">
    
    ## 연결 해제 및 다중 클라이언트 처리
    
    WebSocket 연결이 닫히면, `await websocket.receive_text()`가 `WebSocketDisconnect` 예외를 발생시킵니다. 이를 잡아 처리할 수 있습니다:
    
    {* ../../docs_src/websockets/tutorial003_py39.py hl[79:81] *}
    
    테스트해보기:
    
    * 여러 브라우저 탭에서 앱을 엽니다.
    * 각 탭에서 메시지를 작성합니다.
    * 한 탭을 닫아보세요.
    
    `WebSocketDisconnect` 예외가 발생하며, 다른 모든 클라이언트가 다음과 같은 메시지를 수신합니다:
    
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top