Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for tutorial008b_an_py39 (0.08 sec)

  1. docs_src/dependencies/tutorial008b_an_py39.py

    Sebastián Ramírez <******@****.***> 1703623054 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008b.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial008b_py39"),
            pytest.param("tutorial008b_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  3. pyproject.toml

        "docs_src/pydantic_v1_in_v2/tutorial002_an_py39.py",
        "docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py",
        "docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py",
        "docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py",
        "docs_src/pydantic_v1_in_v2/tutorial004_an_py39.py",
        # TODO: remove when removing this file, after updating translations, Pydantic v1
        "docs_src/schema_extra_example/tutorial001_pv1_py310.py",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    例如,`dependency_c` 可以依赖于 `dependency_b`,而 `dependency_b` 则依赖于 `dependency_a`。
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    所有这些依赖都可以使用 `yield`。
    
    在这种情况下,`dependency_c` 在执行其退出代码时需要 `dependency_b`(此处称为 `dep_b`)的值仍然可用。
    
    而 `dependency_b` 反过来则需要 `dependency_a`(此处称为 `dep_a` )的值在其退出代码中可用。
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *}
    
    同样,你可以混合使用带有 `yield` 或 `return` 的依赖。
    
    你也可以声明一个依赖于多个带有 `yield` 的依赖,等等。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Pero está ahí para ti si la necesitas. 🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Но если понадобится — возможность есть. 🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Aber es ist für Sie da, wenn Sie es brauchen. 🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Mas ela existe para ser utilizada caso você precise. 🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    But it's there for you if you need it. 🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    If you want to catch exceptions and create a custom response based on that, create a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    이들 모두는 `yield`를 사용할 수 있습니다.
    
    이 경우 `dependency_c`는 종료 코드를 실행하기 위해, `dependency_b`의 값 (여기서는 `dep_b`로 명명)이 여전히 사용 가능해야 합니다.
    
    그리고, `dependency_b`는 종료 코드를 위해 `dependency_a`의 값 (여기서는 `dep_a`로 명명) 이 사용 가능해야 합니다.
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top