- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 164 for Decorator (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/de/docs/tutorial/response-status-code.md
* `@app.post()` * `@app.put()` * `@app.delete()` * usw. {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *} /// note | Hinweis Beachten Sie, dass `status_code` ein Parameter der „Dekorator“-Methode ist (`get`, `post`, usw.). Nicht der *Pfadoperation-Funktion*, wie alle anderen Parameter und der Body. /// Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben. /// info | Info
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/es/docs/tutorial/response-status-code.md
* `@app.post()` * `@app.put()` * `@app.delete()` * etc. {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *} /// note | Nota Observa que `status_code` es un parámetro del método "decorador" (`get`, `post`, etc). No de tu *path operation function*, como todos los parámetros y body. /// El parámetro `status_code` recibe un número con el código de estado HTTP. /// info | Información
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
* [`@contextlib.asynccontextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager) would be valid to use as a **FastAPI** dependency. In fact, FastAPI uses those two decorators internally. /// ## A database dependency with `yield` { #a-database-dependency-with-yield } For example, you could use this to create a database session and close it after finishing.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0) -
docs/ru/docs/tutorial/bigger-applications.md
/// tip | Подсказка Обратите внимание, что так же, как и в случае с [зависимостями в декораторах *операций пути*](dependencies/dependencies-in-path-operation-decorators.md), никакое значение не будет передано в вашу *функцию-обработчик пути*. /// В результате пути для items теперь такие: * `/items/` * `/items/{item_id}` ...как мы и планировали.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 29.7K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
## Additional Response with `model` { #additional-response-with-model } You can pass to your *path operation decorators* a parameter `responses`. It receives a `dict`: the keys are status codes for each response (like `200`), and the values are other `dict`s with the information for each of them.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/en/mkdocs.yml
- tutorial/dependencies/index.md - tutorial/dependencies/classes-as-dependencies.md - tutorial/dependencies/sub-dependencies.md - tutorial/dependencies/dependencies-in-path-operation-decorators.md - tutorial/dependencies/global-dependencies.md - tutorial/dependencies/dependencies-with-yield.md - Security: - tutorial/security/index.md - tutorial/security/first-steps.mdCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
Eso es todo. **2 líneas**. Y tiene la misma forma y estructura que todas tus *path operation functions*. Puedes pensar en ella como una *path operation function* sin el "decorador" (sin el `@app.get("/some-path")`). Y puede devolver lo que quieras. En este caso, esta dependencia espera: * Un parámetro de query opcional `q` que es un `str`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10K bytes - Click Count (0) -
docs/de/llm-prompt.md
### German instructions about difficult to translate technical terms (written in first person, which is you)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Dec 29 18:54:20 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/fr/docs/tutorial/bigger-applications.md
/// tip | Astuce Notez que, tout comme pour les [dépendances dans les décorateurs de *chemin d'accès*](dependencies/dependencies-in-path-operation-decorators.md), aucune valeur ne sera transmise à votre *fonction de chemin d'accès*. /// Le résultat final est que les chemins d'item sont désormais : * `/items/` * `/items/{item_id}` ... comme prévu.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 21.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/bigger-applications.md
我們也可以加上一個 `tags` 清單,以及會套用在此 router 內所有路徑操作上的額外 `responses`。 我們還可以加上一個 `dependencies` 清單,這些相依性會加入此 router 內所有的路徑操作,並在對它們的每個請求上執行 / 解決。 /// tip | 提示 請注意,就像在[路徑操作裝飾器中的相依性](dependencies/dependencies-in-path-operation-decorators.md)一樣,不會把任何值傳遞給你的路徑操作函式(path operation function)。 /// 最後的結果是這些 item 的路徑如下: * `/items/` * `/items/{item_id}` ...正如我們預期的。 * 它們會被標記為只有一個字串 `"items"` 的標籤清單。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 18.7K bytes - Click Count (0)