Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 616 for tutorial012_py39 (0.06 sec)

  1. tests/test_tutorial/test_sql_databases/test_tutorial001.py

        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @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),
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

    You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
    
    {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *}
    
    /// tip
    
    If you want something quick to copy and paste, don't use this example, use the last one below.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/cors.md

    * Anmeldeinformationen (Autorisierungsheader, Cookies, usw.).
    * Bestimmte HTTP-Methoden (`POST`, `PUT`) oder alle mit der Wildcard `"*"`.
    * Bestimmte HTTP-Header oder alle mit der 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
    - 6.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body/test_tutorial001.py

    import importlib
    from unittest.mock import patch
    
    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),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body.{request.param}")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/settings.md

    Você pode usar as mesmas funcionalidades e ferramentas de validação que usa em modelos do Pydantic, como diferentes tipos de dados e validações adicionais com `Field()`.
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info | Informação
    
    No Pydantic v1 você importaria `BaseSettings` diretamente de `pydantic` em vez de `pydantic_settings`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/cors.md

    * Credenciais (Cabeçalhos de autorização, Cookies, etc).
    * Métodos HTTP específicos (`POST`, `PUT`) ou todos eles com o curinga `"*"`.
    * Cabeçalhos HTTP específicos ou todos eles com o curinga `"*"`.
    
    {* ../../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.9K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/cors.md

    * Credenciales (headers de autorización, cookies, etc).
    * Métodos HTTP específicos (`POST`, `PUT`) o todos ellos con el comodín `"*"`.
    * Headers HTTP específicos o todos ellos con el comodín `"*"`.
    
    {* ../../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.9K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/testing.md

    Usa el objeto `TestClient` de la misma manera que con `httpx`.
    
    Escribe declaraciones `assert` simples con las expresiones estándar de Python que necesites revisar (otra vez, estándar de `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Consejo
    
    Nota que las funciones de prueba son `def` normales, no `async def`.
    
    Y las llamadas al cliente también son llamadas normales, sin usar `await`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/testing.md

    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Подсказка
    
    Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
    И вызов клиента также осуществляется без `await`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

    The same way, you can declare responses of lists of objects.
    
    For that, use the standard Python `typing.List` (or just `list` in Python 3.9 and above):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## Response with arbitrary `dict` { #response-with-arbitrary-dict }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top