Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 254 for tutorial001_an_py39 (0.09 sec)

  1. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Beispielsweise kann `dependency_c` von `dependency_b` und `dependency_b` von `dependency_a` abhängen:
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    Und alle können `yield` verwenden.
    
    In diesem Fall benötigt `dependency_c` zum Ausführen seines Exit-Codes, dass der Wert von `dependency_b` (hier `dep_b` genannt) verfügbar ist.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. 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)
  3. docs/zh/docs/tutorial/background-tasks.md

    //// tab | Python 3.10+
    
    {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13, 15, 22, 25] *}
    
    ////
    
    //// tab | Python 3.9+
    
    {* ../../docs_src/background_tasks/tutorial002_an_py39.py hl[13, 15, 22, 25] *}
    
    ////
    
    //// tab | Python 3.8+
    
    {* ../../docs_src/background_tasks/tutorial002_an.py hl[14, 16, 23, 26] *}
    
    ////
    
    //// tab | Python 3.10+ 没Annotated
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Por ejemplo, `dependency_c` puede tener una dependencia de `dependency_b`, y `dependency_b` de `dependency_a`:
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    Y todas ellas pueden usar `yield`.
    
    En este caso, `dependency_c`, para ejecutar su código de salida, necesita que el valor de `dependency_b` (aquí llamado `dep_b`) todavía esté disponible.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Por exemplo, `dependency_c` pode depender de `dependency_b`, e `dependency_b` depender de `dependency_a`:
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    E todas elas podem utilizar `yield`.
    
    Neste caso, `dependency_c`, para executar seu código de saída, precisa que o valor de `dependency_b` (nomeado de `dep_b` aqui) continue disponível.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    For example, `dependency_c` can have a dependency on `dependency_b`, and `dependency_b` on `dependency_a`:
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    And all of them can use `yield`.
    
    In this case `dependency_c`, to execute its exit code, needs the value from `dependency_b` (here named `dep_b`) to still be available.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/cookie-param-models.md

    Pydanticのモデルの Configuration を利用して、 `extra` フィールドを `forbid` とすることができます。
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *}
    
    もしクライアントが**余分なクッキー**を送ろうとすると、**エラー**レスポンスが返されます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:21:27 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial004.py

    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),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.security.{request.param}")
    
        return mod
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        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),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial005.py

    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),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.security.{request.param}")
    
        return mod
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top