- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 855 for dependencias (0.06 seconds)
-
docs/fr/docs/advanced/advanced-dependencies.md
Vous pouvez en lire davantage dans les documents pour [Dépendances avec `yield` - Sortie anticipée et `scope`](../tutorial/dependencies/dependencies-with-yield.md#early-exit-and-scope). ### Dépendances avec `yield` et `StreamingResponse`, Détails techniques { #dependencies-with-yield-and-streamingresponse-technical-details }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 10.6K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/global-dependencies.md
Для некоторых типов приложений может потребоваться добавить зависимости ко всему приложению. Подобно тому, как вы можете [добавлять `dependencies` (зависимости) в *декораторах операций пути*](dependencies-in-path-operation-decorators.md), вы можете добавлять зависимости сразу ко всему `FastAPI` приложению. В этом случае они будут применяться ко всем *операциям пути* в приложении:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/dependencies/global-dependencies.md
# Глобальні залежності { #global-dependencies } Для деяких типів застосунків ви можете захотіти додати залежності до всього застосунку. Подібно до того, як ви можете [додавати `dependencies` до *декораторів операцій шляху*](dependencies-in-path-operation-decorators.md), ви можете додати їх до застосунку `FastAPI`. У такому разі вони будуть застосовані до всіх *операцій шляху* в застосунку: {* ../../docs_src/dependencies/tutorial012_an_py310.py hl[17] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/zh/docs/advanced/advanced-dependencies.md
# 高级依赖项 { #advanced-dependencies } ## 参数化的依赖项 { #parameterized-dependencies } 目前我们看到的依赖项都是固定的函数或类。 但有时你可能希望为依赖项设置参数,而不必声明许多不同的函数或类。 假设我们要有一个依赖项,用来检查查询参数 `q` 是否包含某个固定内容。 但我们希望能够把这个固定内容参数化。 ## “可调用”的实例 { #a-callable-instance } 在 Python 中,可以让某个类的实例变成“可调用对象”(callable)。 这里指的是类的实例(类本身已经是可调用的),而不是类本身。 为此,声明一个 `__call__` 方法: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[12] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/global-dependencies.md
# 全域依賴 { #global-dependencies } 在某些類型的應用程式中,你可能想為整個應用程式新增依賴。 類似於你可以在[路徑操作(path operation)的裝飾器中新增 `dependencies`](dependencies-in-path-operation-decorators.md) 的方式,你也可以把它們加到 `FastAPI` 應用程式上。 在這種情況下,它們會套用到應用程式中的所有路徑操作: {* ../../docs_src/dependencies/tutorial012_an_py310.py hl[17] *} 而且,在[將 `dependencies` 新增到路徑操作裝飾器](dependencies-in-path-operation-decorators.md) 那一節中的所有概念依然適用,只是這裡是套用到整個應用中的所有路徑操作。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
# Sub-dependencies { #sub-dependencies } You can create dependencies that have **sub-dependencies**. They can be as **deep** as you need them to be. **FastAPI** will take care of solving them. ## First dependency "dependable" { #first-dependency-dependable } You could create a first dependency ("dependable") like: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
# Advanced Dependencies { #advanced-dependencies } ## Parameterized 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.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
docs/de/docs/advanced/advanced-dependencies.md
Mehr dazu finden Sie in der Dokumentation zu [Abhängigkeiten mit `yield` – Frühes Beenden und `scope`](../tutorial/dependencies/dependencies-with-yield.md#early-exit-and-scope). ### Abhängigkeiten mit `yield` und `StreamingResponse`, Technische Details { #dependencies-with-yield-and-streamingresponse-technical-details }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/global-dependencies.md
Pour certains types d'applications, vous pourriez vouloir ajouter des dépendances à l'application entière. Comme vous pouvez [ajouter des `dependencies` aux *décorateurs de chemin d'accès*](dependencies-in-path-operation-decorators.md), vous pouvez les ajouter à l'application `FastAPI`. Dans ce cas, elles seront appliquées à tous les *chemins d'accès* de l'application :
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/global-dependencies.md
# 全局依赖项 { #global-dependencies } 有时,我们要为整个应用添加依赖项。 通过与[将 `dependencies` 添加到*路径操作装饰器*](dependencies-in-path-operation-decorators.md) 类似的方式,可以把依赖项添加至整个 `FastAPI` 应用。 这样一来,就可以为所有*路径操作*应用该依赖项: {* ../../docs_src/dependencies/tutorial012_an_py310.py hl[17] *} [将 `dependencies` 添加到*路径操作装饰器*](dependencies-in-path-operation-decorators.md) 一章的思路均适用于全局依赖项, 在本例中,这些依赖项可以用于应用中的所有*路径操作*。 ## 为一组路径操作定义依赖项 { #dependencies-for-groups-of-path-operations }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 972 bytes - Click Count (0)