- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 71 for delegate (0.28 sec)
-
docs/zh/docs/tutorial/response-model.md
# 响应模型 你可以在任意的*路径操作*中使用 `response_model` 参数来声明用于响应的模型: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * 等等。 === "Python 3.10+" ```Python hl_lines="17 22 24-27" {!> ../../../docs_src/response_model/tutorial001_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="17 22 24-27" {!> ../../../docs_src/response_model/tutorial001_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
# レスポンスモデル *path operations* のいずれにおいても、`response_model`パラメータを使用して、レスポンスのモデルを宣言することができます: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * など。 ```Python hl_lines="17" {!../../../docs_src/response_model/tutorial001.py!} ``` !!! note "備考" `response_model`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数* のパラメータではありません。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
You can use the `response_model` parameter in any of the *path operations*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. === "Python 3.10+" ```Python hl_lines="17 22 24-27" {!> ../../../docs_src/response_model/tutorial001_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="17 22 24-27"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
tests/test_operations_signatures.py
import inspect from fastapi import APIRouter, FastAPI method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"] def test_signatures_consistency(): base_sig = inspect.signature(APIRouter.get) for method_name in method_names: router_method = getattr(APIRouter, method_name) app_method = getattr(FastAPI, method_name) router_sig = inspect.signature(router_method)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon May 27 12:08:13 GMT 2019 - 934 bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
这里的「操作」指的是一种 HTTP「方法」。 下列之一: * `POST` * `GET` * `PUT` * `DELETE` ...以及更少见的几种: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` 在 HTTP 协议中,你可以使用以上的其中一种(或多种)「方法」与每个路径进行通信。 --- 在开发 API 时,你通常使用特定的 HTTP 方法去执行特定的行为。 通常使用: * `POST`:创建数据。 * `GET`:读取数据。 * `PUT`:更新数据。 * `DELETE`:删除数据。 因此,在 OpenAPI 中,每一个 HTTP 方法都被称为「操作」。 我们也打算称呼它们为「操作」。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 9.2K bytes - Viewed (0) -
docs/de/docs/features.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 19:43:43 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/ja/docs/features.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.3K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
Sie können `response_model` in jeder möglichen *Pfadoperation* verwenden: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * usw. === "Python 3.10+" ```Python hl_lines="17 22 24-27" {!> ../../../docs_src/response_model/tutorial001_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="17 22 24-27"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:58 GMT 2024 - 19.9K bytes - Viewed (0) -
docs/em/docs/tutorial/response-model.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 16K bytes - Viewed (0)