- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 230 for dependentes (0.15 sec)
-
docs/de/docs/advanced/advanced-dependencies.md
Dazu deklarieren wir eine Methode `__call__`: //// tab | Python 3.9+ ```Python hl_lines="12" {!> ../../docs_src/dependencies/tutorial011_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="11" {!> ../../docs_src/dependencies/tutorial011_an.py!} ``` //// //// tab | Python 3.8+ nicht annotiert /// tip | "Tipp"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
# Global Dependencies For some types of applications you might want to add dependencies to the whole application. Similar to the way you can [add `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, you can add them to the `FastAPI` application. In that case, they will be applied to all the *path operations* in the application: //// tab | Python 3.9+ ```Python hl_lines="16"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/global-dependencies.md
Ähnlich wie Sie [`dependencies` zu den *Pfadoperation-Dekoratoren* hinzufügen](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} können, können Sie sie auch zur `FastAPI`-Anwendung hinzufügen. In diesem Fall werden sie auf alle *Pfadoperationen* in der Anwendung angewendet: //// tab | Python 3.9+ ```Python hl_lines="16" {!> ../../docs_src/dependencies/tutorial012_an_py39.py!} ``` ////
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** 🔜 ✊ 💅 🔬 👫. ## 🥇 🔗 "☑" 👆 💪 ✍ 🥇 🔗 ("☑") 💖: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="8-9" {!> ../../docs_src/dependencies/tutorial005.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="6-7" {!> ../../docs_src/dependencies/tutorial005_py310.py!} ``` //// ⚫️ 📣 📦 🔢 🔢 `q` `str`, & ⤴️ ⚫️ 📨 ⚫️. 👉 🙅 (🚫 📶 ⚠), ✋️ 🔜 ℹ 👥 🎯 🔛 ❔ 🎧-🔗 👷.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/zh/docs/advanced/advanced-dependencies.md
这里说的不是类本身(类本就是可调用项),而是类实例。 为此,需要声明 `__call__` 方法: ```Python hl_lines="10" {!../../docs_src/dependencies/tutorial011.py!} ``` 本例中,**FastAPI** 使用 `__call__` 检查附加参数及子依赖项,稍后,还要调用它向*路径操作函数*传递值。 ## 参数化实例 接下来,使用 `__init__` 声明用于**参数化**依赖项的实例参数: ```Python hl_lines="7" {!../../docs_src/dependencies/tutorial011.py!} ``` 本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。 ## 创建实例 使用以下代码创建类实例:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
``` //// //// tab | Python 3.8+ ```Python hl_lines="12" {!> ../../docs_src/dependencies/tutorial001_an.py!} ``` //// //// tab | Python 3.10+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="7" {!> ../../docs_src/dependencies/tutorial001_py310.py!} ``` ////
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
//// tab | Python 3.10+ ```Python hl_lines="9" {!> ../../docs_src/dependencies/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="11" {!> ../../docs_src/dependencies/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.6+ ```Python hl_lines="12" {!> ../../docs_src/dependencies/tutorial001_an.py!} ``` //// //// tab | Python 3.10+ без Annotated
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 16K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
//// tab | Python 3.10+ ```Python hl_lines="9" {!> ../../docs_src/dependencies/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="11" {!> ../../docs_src/dependencies/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="12" {!> ../../docs_src/dependencies/tutorial001_an.py!} ``` //// //// tab | Python 3.10+ non-Annotated
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/advanced/advanced-dependencies.md
# Advanced Dependencies ## Parameterized dependencies All the dependencies we have seen are a fixed function or class. But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes. Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content. But we want to be able to parameterize that fixed content.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/sub-dependencies.md
//// tab | Python 3.10+ ```Python hl_lines="8-9" {!> ../../docs_src/dependencies/tutorial005_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="8-9" {!> ../../docs_src/dependencies/tutorial005_an_py39.py!} ``` //// //// tab | Python 3.6+ ```Python hl_lines="9-10" {!> ../../docs_src/dependencies/tutorial005_an.py!} ``` //// //// tab | Python 3.10 без Annotated
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0)