- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for Meleti (0.21 sec)
-
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 Apr 28 07:19:10 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 Apr 28 07:19:10 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 Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 19:43:43 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/ja/docs/features.md
Plain Text - Registered: Sun Apr 28 07:19:10 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 Apr 28 07:19:10 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 Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 16K bytes - Viewed (0) -
docs/en/docs/release-notes.md
... @app.get("/items/{item_id}") def read_item(*, user: User = Depends(get_current_user), item_id: int): ... @app.delete("/items/{item_id}") def delete_item(*, user: User = Depends(get_current_user), item_id: int): ... ``` There's a bit of code duplication for the dependency: ```Python user: User = Depends(get_current_user)
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Apr 28 00:28:00 GMT 2024 - 385.5K bytes - Viewed (1) -
docs/de/docs/reference/responses.md
- set_cookie - delete_cookie ::: fastapi.responses.ORJSONResponse options: members: - charset - status_code - media_type - body - background - raw_headers - render - init_headers - headers - set_cookie - delete_cookie ## Starlette-Responses
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Feb 19 15:53:39 GMT 2024 - 3.8K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.8K bytes - Viewed (0) -
docs/vi/docs/tutorial/first-steps.md
#### Toán tử (Operation) "Toán tử" ở đây được nhắc tới là một trong các "phương thức" HTTP. Một trong những: * `POST` * `GET` * `PUT` * `DELETE` ...và một trong những cái còn lại: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` Trong giao thức HTTP, bạn có thể giao tiếp trong mỗi đường dẫn sử dụng một (hoặc nhiều) trong các "phương thức này".
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Sep 02 15:44:17 GMT 2023 - 11.2K bytes - Viewed (0)