- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 539 for patch (0.19 sec)
-
docs/zh/docs/tutorial/body-updates.md
``` 因为上述数据未包含已存储的属性 `"tax": 20.2`,新的输入模型会把 `"tax": 10.5` 作为默认值。 因此,本次操作把 `tax` 的值「更新」为 `10.5`。 ## 用 `PATCH` 进行部分更新 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTP `PATCH`</a> 操作用于更新 *部分* 数据。 即,只发送要更新的数据,其余数据保持不变。 !!! note "笔记" `PATCH` 没有 `PUT` 知名,也怎么不常用。 很多人甚至只用 `PUT` 实现部分更新。 **FastAPI** 对此没有任何限制,可以**随意**互换使用这两种操作。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/de/docs/reference/fastapi.md
- openapi - websocket - include_router - get - put - post - delete - options - head - patch - trace - on_event - middleware
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 18 12:19:32 GMT 2024 - 715 bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
``` </div> ### Шаг 3: определите *операцию пути (path operation)* #### Путь (path) "Путь" это часть URL, после первого символа `/`, следующего за именем домена. Для URL: ``` https://example.com/items/foo ``` ...путь выглядит так: ``` /items/foo ``` !!! info "Дополнительная иформация" Термин "path" также часто называется "endpoint" или "route".
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.1K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001_py310.py
from unittest.mock import patch import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture def client(): from docs_src.body.tutorial001_py310 import app client = TestClient(app) return client @needs_py310 def test_body_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 50.5})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 15K bytes - Viewed (2) -
tests/test_tutorial/test_body/test_tutorial001.py
from unittest.mock import patch import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient @pytest.fixture def client(): from docs_src.body.tutorial001 import app client = TestClient(app) return client def test_body_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 50.5}) assert response.status_code == 200
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 14.7K bytes - Viewed (7) -
docs/de/docs/tutorial/first-steps.md
„Operation“ bezieht sich hier auf eine der HTTP-„Methoden“. Eine von diesen: * `POST` * `GET` * `PUT` * `DELETE` ... und die etwas Exotischeren: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` Im HTTP-Protokoll können Sie mit jedem Pfad über eine (oder mehrere) dieser „Methoden“ kommunizieren. ---
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
#### 🛠️ "🛠️" 📥 🔗 1️⃣ 🇺🇸🔍 "👩🔬". 1️⃣: * `POST` * `GET` * `PUT` * `DELETE` ...& 🌅 😍 🕐: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` 🇺🇸🔍 🛠️, 👆 💪 🔗 🔠 ➡ ⚙️ 1️⃣ (⚖️ 🌅) 👫 "👩🔬". --- 🕐❔ 🏗 🔗, 👆 🛎 ⚙️ 👫 🎯 🇺🇸🔍 👩🔬 🎭 🎯 🎯. 🛎 👆 ⚙️: * `POST`: ✍ 💽. * `GET`: ✍ 💽. * `PUT`: ℹ 💽.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-updates.md
## Частичное обновление с помощью `PATCH` Также можно использовать <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTP `PATCH`</a> операцию для *частичного* обновления данных. Это означает, что можно передавать только те данные, которые необходимо обновить, оставляя остальные нетронутыми. !!! note "Технические детали" `PATCH` менее распространен и известен, чем `PUT`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 13:55:32 GMT 2024 - 8.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/first-steps.md
#### Operation ここでの「オペレーション」とは、HTTPの「メソッド」の1つを指します。 以下のようなものの1つ: * `POST` * `GET` * `PUT` * `DELETE` ...さらによりエキゾチックなもの: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` HTTPプロトコルでは、これらの「メソッド」の1つ(または複数)を使用して各パスにアクセスできます。 --- APIを構築するときは、通常、これらの特定のHTTPメソッドを使用して特定のアクションを実行します。 通常は次を使用します: * `POST`: データの作成 * `GET`: データの読み取り
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.2K bytes - Viewed (0)