Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for PATCH (0.24 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     *
     * <p>One path type is handled in a special way: unlike other options,
     * the paths specified in a {@code --patch-module} Java option is effective only for a specified module.
     * This type is created by calls to {@link #patchModule(String)} and a new instance must be created for
     * every module to patch.</p>
     *
     * <p>Path types are often exclusive. For example, a dependency should not be both on the Java class path
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
  2. tests/test_extra_routes.py

        return JSONResponse(None, headers={"x-fastapi-item-id": item_id})
    
    
    @app.options("/items/{item_id}")
    def options_item(item_id: str):
        return JSONResponse(None, headers={"x-fastapi-item-id": item_id})
    
    
    @app.patch("/items/{item_id}")
    def patch_item(item_id: str, item: Item):
        return {"item_id": item_id, "item": item}
    
    
    @app.trace("/items/{item_id}")
    def trace_item(item_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            assert response.json() == snapshot(
                [{"name": "Spider-Boy", "age": 18, "id": IsInt()}]
            )
    
            # Update a hero
            response = client.patch(
                f"/heroes/{hero_id}", json={"name": "Dog Pond", "age": None}
            )
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial004.py

    import importlib
    from types import ModuleType
    from unittest.mock import patch
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
            pytest.param("tutorial004_an_py39"),
            pytest.param("tutorial004_an_py310", marks=needs_py310),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            .build()
        assertThat(put.method).isEqualTo("PUT")
        assertThat(put.body).isEqualTo(body)
    
        val patch =
          Request
            .Builder()
            .url("http://localhost/api")
            .patch(body)
            .build()
        assertThat(patch.method).isEqualTo("PATCH")
        assertThat(patch.body).isEqualTo(body)
    
        val query =
          Request
            .Builder()
            .url("http://localhost/api")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    func (p *Parser) patch() {
    	for _, patch := range p.toPatch {
    		targetProg := p.labels[patch.label]
    		if targetProg == nil {
    			p.errorf("undefined label %s", patch.label)
    			return
    		}
    		p.branch(patch.addr, targetProg)
    	}
    	p.toPatch = p.toPatch[:0]
    }
    
    func (p *Parser) branch(addr *obj.Addr, target *obj.Prog) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Oct 21 15:13:08 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body/test_tutorial001.py

    import importlib
    from unittest.mock import patch
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_py39",
            pytest.param("tutorial001_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body.{request.param}")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. ci/devinfra/docker/windows2022/Dockerfile

    # This Dockerfile creates an image that has:
    # - the correct MTU setting for networking from inside the container to work.
    # - Visual Studio 2022 Build Tools
    # - MSVC 14.39
    # - LLVM/Clang 18.1.4
    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.9 - 3.13
    # - Bazelisk 1.22.1
    # - JDK 21 (Azul Zulu)
    
    FROM mcr.microsoft.com/windows/servercore:ltsc2022
    
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", \
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Jan 13 18:59:55 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. docs/tr/docs/tutorial/first-steps.md

    Burada "operasyon" HTTP "metodlarından" birini ifade eder.
    
    Bunlardan biri:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...veya daha az kullanılan diğerleri:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    HTTP protokolünde, bu "metodlardan" birini (veya daha fazlasını) kullanarak her bir yol ile iletişim kurabilirsiniz.
    
    ---
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/tutorial/first-steps.md

    ///
    
    在建置 API 時,「路徑」是分離「關注點」和「資源」的主要方式。
    
    #### 操作
    
    這裡的「操作」指的是 HTTP 的「方法」之一。
    
    其中包括:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ……以及更少見的:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    在 HTTP 協定中,你可以使用這些「方法」之一(或更多)與每個路徑進行通信。
    
    ---
    
    在建置 API 時,你通常使用這些特定的 HTTP 方法來執行特定的動作。
    
    通常你使用:
    
    * `POST`:用來建立資料。
    * `GET`:用來讀取資料。
    * `PUT`:用來更新資料。
    * `DELETE`:用來刪除資料。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top