Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 528 for tutorial007_py39 (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    //// tab | Pydantic v2
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py39.py hl[15:20, 22] *}
    
    ////
    
    //// tab | Pydantic v1
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py hl[15:20, 22] *}
    
    ////
    
    /// info | Informação
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_custom_response/test_tutorial007.py

    from fastapi.testclient import TestClient
    
    from docs_src.custom_response.tutorial007_py39 import app
    
    client = TestClient(app)
    
    
    def test_get():
        fake_content = b"some fake video bytes"
        response = client.get("/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 269 bytes
    - Click Count (0)
  3. docs/de/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py39.py hl[15:20, 22] *}
    
    Obwohl wir nicht die standardmäßig integrierte Funktionalität verwenden, verwenden wir dennoch ein Pydantic-Modell, um das JSON-Schema für die Daten, die wir in YAML empfangen möchten, manuell zu generieren.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *}
    
    El valor generado es lo que se inyecta en *path operations* y otras dependencias:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *}
    
    El código posterior a la declaración `yield` se ejecuta después del response:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Consejo
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial007_py39"),
            pytest.param("tutorial007_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *}
    
    O valor gerado (yielded) é o que é injetado nas *operações de rota* e outras dependências:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *}
    
    O código após o `yield` é executado após a resposta:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Dica
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *}
    
    The yielded value is what is injected into *path operations* and other dependencies:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *}
    
    The code following the `yield` statement is executed after the response:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip
    
    You can use `async` or regular functions.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. docs/ru/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Так как редактор кода знает типы переменных, вы получаете не только автозавершение, но и проверки ошибок:
    
    <img src="/img/python-types/image04.png">
    
    Теперь вы знаете, что нужно исправить — преобразовать `age` в строку с помощью `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Объявление типов { #declaring-types }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial007_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.path_operation_advanced_configuration.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_params_str_validations/test_tutorial007.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial007_py39"),
            pytest.param("tutorial007_py310", marks=needs_py310),
            pytest.param("tutorial007_an_py39"),
            pytest.param("tutorial007_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top