- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 151 for decorador (0.07 sec)
-
docs/de/docs/tutorial/first-steps.md
/// info | `@decorator` Information Diese `@something`-Syntax wird in Python „Dekorator“ genannt. Sie platzieren ihn über einer Funktion. Wie ein hübscher, dekorativer Hut (daher kommt wohl der Begriff). Ein „Dekorator“ nimmt die darunter stehende Funktion und macht etwas damit.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
# Path Operation Configuration { #path-operation-configuration } There are several parameters that you can pass to your *path operation decorator* to configure it. /// warning Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*. /// ## Response Status Code { #response-status-code } You can define the (HTTP) `status_code` to be used in the response of your *path operation*.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/es/docs/tutorial/path-operation-configuration.md
# Configuración de Path Operation Hay varios parámetros que puedes pasar a tu *path operation decorator* para configurarlo. /// warning | Advertencia Ten en cuenta que estos parámetros se pasan directamente al *path operation decorator*, no a tu *path operation function*. /// ## Código de Estado del Response Puedes definir el `status_code` (HTTP) que se utilizará en el response de tu *path operation*.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4K 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 Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
## `Security` in decorator `dependencies` { #security-in-decorator-dependencies }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
Umieszczasz to na szczycie funkcji. Jak ładną ozdobną czapkę (chyba stąd wzięła się nazwa). "Dekorator" przyjmuje funkcję znajdującą się poniżej jego i coś z nią robi. W naszym przypadku dekorator mówi **FastAPI**, że poniższa funkcja odpowiada **ścieżce** `/` z **operacją** `get`. Jest to "**dekorator operacji na ścieżce**". /// Możesz również użyć innej operacji: * `@app.post()` * `@app.put()`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
* If you also declare dependencies in a specific *path operation*, **they will be executed too**. * The router dependencies are executed first, then the [`dependencies` in the decorator](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, and then the normal parameter dependencies. * You can also add [`Security` dependencies with `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank}.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 19.1K 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 Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.1K bytes - Viewed (0) -
docs/vi/docs/tutorial/first-steps.md
Bạn đặt nó trên một hàm. Giống như một chiếc mũ xinh xắn (Tôi ddonas đó là lí do mà thuật ngữ này ra đời). Một "decorator" lấy một hàm bên dưới và thực hiện một vài thứ với nó. Trong trường hợp của chúng ta, decorator này nói **FastAPI** rằng hàm bên dưới ứng với **đường dẫn** `/` và một **toán tử** `get`. Nó là một "**decorator đường dẫn toán tử**". /// Bạn cũng có thể sử dụng với các toán tử khác: * `@app.post()`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Nov 10 16:58:43 UTC 2024 - 11K bytes - Viewed (0) -
docs/pt/docs/tutorial/debugging.md
/// ## Execute seu código com seu depurador Como você está executando o servidor Uvicorn diretamente do seu código, você pode chamar seu programa Python (seu aplicativo FastAPI) diretamente do depurador. --- Por exemplo, no Visual Studio Code, você pode: * Ir para o painel "Debug". * "Add configuration...". * Selecionar "Python" * Executar o depurador com a opção "`Python: Current File (Integrated Terminal)`".
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0)