- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for decorators (0.06 sec)
-
docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen { #add-dependencies-to-the-path-operation-decorator } Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`. Es sollte eine `list`e von `Depends()` sein: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 3.5K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
In some cases you don't really need the return value of a dependency inside your *path operation function*. Or the dependency doesn't return a value. But you still need it to be executed/solved. For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# Зависимости в декораторах операции пути { #dependencies-in-path-operation-decorators } В некоторых случаях, возвращаемое значение зависимости не используется внутри *функции операции пути*. Или же зависимость не возвращает никакого значения. Но вам всё-таки нужно, чтобы она выполнилась. Для таких ситуаций, вместо объявления *функции операции пути* с параметром `Depends`, вы можете добавить список зависимостей `dependencies` в *декоратор операции пути*.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# Dependencias en decoradores de *path operation* { #dependencies-in-path-operation-decorators } En algunos casos realmente no necesitas el valor de retorno de una dependencia dentro de tu *path operation function*. O la dependencia no devuelve un valor. Pero aún necesitas que sea ejecutada/resuelta.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## Adicione `dependencies` ao decorador da operação de rota { #add-dependencies-to-the-path-operation-decorator } O *decorador da operação de rota* recebe um argumento opcional `dependencies`. Ele deve ser uma lista de `Depends()`: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Sebastián Ramírez <******@****.***> 1731896744 +0100
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Sebastián Ramírez <******@****.***> 1731896744 +0100
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# path operationデコレータの依存関係 場合によっては*path operation関数*の中で依存関係の戻り値を本当に必要としないこともあります。 もしくは、依存関係が値を返さない場合もあります。 しかし、それでも実行・解決する必要があります。 このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。 ## *path operationデコレータ*への`dependencies`の追加 *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。 それは`Depends()`の`list`であるべきです: {* ../../docs_src/dependencies/tutorial006.py hl[17] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
private final RepositorySystem repoSystem; private final List<RepositorySessionDecorator> decorators; @Inject public DefaultProjectDependenciesResolver( RepositorySystem repoSystem, List<RepositorySessionDecorator> decorators) { this.repoSystem = repoSystem; this.decorators = decorators; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 10:13:56 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
# Global Dependencies { #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:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.1K bytes - Viewed (0)