Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,817 for patch (0.09 sec)

  1. 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)
  2. 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)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. tests/test_tutorial/test_python_types/test_tutorial009c.py

    
    def test_say_hi(module: ModuleType):
        with patch("builtins.print") as mock_print:
            module.say_hi("FastAPI")
    
        mock_print.assert_called_once_with("Hey FastAPI!")
    
        with pytest.raises(
            TypeError,
            match=re.escape("say_hi() missing 1 required positional argument: 'name'"),
        ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 777 bytes
    - Viewed (0)
  6. 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)
  7. 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 | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_updates/test_tutorial002.py

                                "schema": {"title": "Item Id", "type": "string"},
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                    },
                    "patch": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top