- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 153 for PATCH (0.02 sec)
-
docs/en/docs/tutorial/body-updates.md
## Partial updates with `PATCH` { #partial-updates-with-patch } You can also use the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTP `PATCH`</a> operation to *partially* update data. This means that you can send only the data that you want to update, leaving the rest intact. /// note `PATCH` is less commonly used and known than `PUT`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_python_types/test_tutorial006.py
from unittest.mock import patch from docs_src.python_types.tutorial006_py39 import process_items def test_process_items(): with patch("builtins.print") as mock_print: process_items(["item_a", "item_b", "item_c"]) assert mock_print.call_count == 3 call_args = [arg.args for arg in mock_print.call_args_list] assert call_args == [ ("item_a",), ("item_b",), ("item_c",),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 426 bytes - Viewed (0) -
docs/ru/docs/tutorial/body-updates.md
И данные будут сохранены с этим "новым" `tax`, равным `10,5`. ## Частичное обновление с помощью `PATCH` { #partial-updates-with-patch } Также можно использовать <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTP `PATCH`</a> операцию для *частичного* обновления данных.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 8.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-updates.md
## Atualizações parciais com `PATCH` { #partial-updates-with-patch } Você também pode usar a operação <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTP `PATCH`</a> para atualizar parcialmente os dados. Isso significa que você pode enviar apenas os dados que deseja atualizar, deixando o restante intacto. /// note | NotaRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/uk/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`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jun 30 06:00:04 UTC 2025 - 7.7K bytes - Viewed (0) -
ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh
for v in "${PYTHON_VERSIONS[@]}"; do ln -s "/usr/local/include/${v}" "/${TARGET}/usr/include/x86_64-linux-gnu/${v}" done # Patch glibc to be compatable with modern clang case "${VERSION}" in devtoolset-9) cd / patch -p0 < /glibc2.17-inline.patch ;;
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Sep 24 20:45:58 UTC 2024 - 8K bytes - Viewed (0) -
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** 对此没有任何限制,可以**随意**互换使用这两种操作。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial010.py
from typing import Annotated, Any from unittest.mock import Mock, patch from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from docs_src.dependencies.tutorial010_py39 import get_db def test_get_db(): app = FastAPI() @app.get("/") def read_root(c: Annotated[Any, Depends(get_db)]): return {"c": str(c)} client = TestClient(app) dbsession_mock = Mock()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 688 bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
major: Int, minor: Int = 0, patch: Int = 0, ): Boolean { val conscryptVersion = Conscrypt.version() ?: return false if (conscryptVersion.major() != major) { return conscryptVersion.major() > major } if (conscryptVersion.minor() != minor) { return conscryptVersion.minor() > minor } return conscryptVersion.patch() >= patch } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3K bytes - Viewed (0) -
tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py
import importlib from types import ModuleType from unittest.mock import patch import pytest from ...utils import needs_py310 @pytest.fixture( name="module", params=[ pytest.param("tutorial009_py39"), pytest.param("tutorial009_py310", marks=needs_py310), pytest.param("tutorial009b_py39"), ], ) def get_module(request: pytest.FixtureRequest):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 805 bytes - Viewed (0)