- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 594 for put (0.02 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java
boolean aggregating, RepositorySystemSession session); CacheRecord get(Key key) throws LifecycleExecutionException; CacheRecord put(Key key, Set<Artifact> pluginArtifacts); CacheRecord put(Key key, LifecycleExecutionException e); void flush(); /** * Registers the specified cache record for usage with the given project. Integrators can use the informationCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial004_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( examples=[ { "name": "Foo", "description": "A very nice Item",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 786 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
Map<String, Object> data = new HashMap<>(); data.put("plexus", context.lookup.lookup(PlexusContainer.class)); data.put("workingDirectory", context.cwd.get().toString()); data.put("systemProperties", toProperties(context.protoSession.getSystemProperties())); data.put("userProperties", toProperties(context.protoSession.getUserProperties())); data.put("versionProperties", CLIReportingUtils.getBuildProperties());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial004_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 917 bytes - Click Count (0) -
cmd/etcd.go
timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout) defer cancel() lease, err := client.Grant(timeoutCtx, ttl) if err != nil { return etcdErrToErr(err, client.Endpoints()) } _, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID)) etcdLogIf(ctx, err) return etcdErrToErr(err, client.Endpoints()) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
p2.setCollectedProjects(List.of()); p2.setArtifactId("p2"); Map<MavenProject, List<MavenProject>> projects = new HashMap<>(); projects.put(p1, Collections.emptyList()); projects.put(p2, Collections.singletonList(p1)); BuildPlan plan = calculateLifecycleMappings(projects, "verify"); plan.then(calculateLifecycleMappings(projects, "install"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py
mod = importlib.import_module(f"docs_src.schema_extra_example.{request.param}") client = TestClient(mod.app) return client def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.8K bytes - Click Count (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial002.py
mod = importlib.import_module(f"docs_src.schema_extra_example.{request.param}") client = TestClient(mod.app) return client def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/tr/docs/index.md
* Swagger UI. * ReDoc. --- Az önceki örneğe geri dönelim, **FastAPI**'ın yapacaklarına bir bakış atalım: * `item_id`'nin `GET` ve `PUT` istekleri için, yolda olup olmadığının kontol edecek. * `item_id`'nin `GET` ve `PUT` istekleri için, tipinin `int` olduğunu doğrulayacak. * Eğer değilse, sebebini belirten bir hata mesajı gösterecek.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 21.9K bytes - Click Count (0) -
docs/en/docs/index.md
* Swagger UI. * ReDoc. --- Coming back to the previous code example, **FastAPI** will: * Validate that there is an `item_id` in the path for `GET` and `PUT` requests. * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests. * If it is not, the client will see a useful, clear error.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 25 11:01:37 GMT 2025 - 23.5K bytes - Click Count (0)