- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,482 for patch (0.05 sec)
-
docs_src/body_updates/tutorial002_py39.py
"baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item) async def read_item(item_id: str): return items[item_id] @app.patch("/items/{item_id}", response_model=Item) async def update_item(item_id: str, item: Item): stored_item_data = items[item_id] stored_item_model = Item(**stored_item_data) update_data = item.dict(exclude_unset=True)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 1K bytes - Viewed (0) -
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)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 27 12:08:13 UTC 2019 - 934 bytes - Viewed (0) -
compat/maven-resolver-provider/src/site/apt/dependency-types.apt
*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+ | <<<test-jar>>> | <<<tests>>> | <<<jar>>> | java | classes, patch module | | *-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
fastapi/openapi/constants.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 153 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
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) } @Test fun uninitializedURI() { val request = Request.Builder().url("http://localhost/api").build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
}, }, "patch": { "summary": "Update Hero", "operationId": "update_hero_heroes__hero_id__patch", "parameters": [ { "name": "hero_id", "in": "path", "required": True,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 19.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/bootstrapdump.json
}, "userAgentBuildVersion": { "version": { "majorNumber": 1, "minorNumber": 18, "patch": 3 }, "metadata": { "build.type": "RELEASE", "revision.sha": "436f365a8007cd8a13a9f1321e7cce94bcc8883e",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 05 11:02:00 UTC 2022 - 739 bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/configdump.json
"ISTIO_VERSION": "1.10.0" }, "userAgentBuildVersion": { "version": { "majorNumber": 1, "minorNumber": 18, "patch": 3 }, "metadata": { "build.type": "RELEASE", "revision.sha": "436f365a8007cd8a13a9f1321e7cce94bcc8883e", "revision.status": "Clean",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jun 15 05:44:44 UTC 2021 - 742 bytes - Viewed (0) -
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 Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
// label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, label.IoIstioDataplaneMode.Name, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) client.RunAndWait(ctx.Done()) payload, _ := json.Marshal(valid) // serialize our fake plugin event
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K bytes - Viewed (0)