- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 2,353 for myitem (0.06 seconds)
-
docs_src/body/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.post("/items/") async def create_item(item: Item): item_dict = item.model_dump() if item.tax is not None: price_with_tax = item.price + item.tax item_dict.update({"price_with_tax": price_with_tax})Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 447 bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
tasks.withType<Test>().configureEach { val testVersionProvider = javaLauncher.map { it.metadata.languageVersion } jvmArgumentProviders.add(CommandLineArgumentProvider { //allow ProjectBuilder to inject legacy types into the system classloader if (testVersionProvider.get().canCompileOrRun(9)) { listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED") } else { emptyList() } })
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 2.3K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) { X509Certificate x = (X509Certificate) c; System.out.println(x.getSubjectDN()); } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 26 06:37:08 GMT 2021 - 1.9K bytes - Click Count (0) -
docs/tr/docs/tutorial/body-multiple-params.md
"user": { "username": "dave", "full_name": "Dave Grohl" } } ``` /// note | Not `item` daha öncekiyle aynı şekilde tanımlanmış olsa bile, artık body içinde `item` anahtarı altında gelmesi beklenir. /// **FastAPI**, request'ten otomatik dönüşümü yapar; böylece `item` parametresi kendi içeriğini alır, `user` için de aynı şekilde olur.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:41:38 GMT 2026 - 5.1K bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial004_an_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item, user: User, importance: Annotated[int, Body(gt=0)],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 643 bytes - Click Count (0) -
src/main/resources/fess_message.properties
constraints.URL.message = {item} is not a valid URL. constraints.Required.message = {item} is required. constraints.TypeInteger.message = {item} must be a number. constraints.TypeLong.message = {item} must be a number. constraints.TypeFloat.message = {item} must be a number. constraints.TypeDouble.message = {item} must be a number. constraints.TypeAny.message = {item} cannot be converted to {propertyType}. constraints.UriType.message = {item} has an unrecognized URI.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/resources/fess_message_en.properties
constraints.URL.message = {item} is not a valid URL. constraints.Required.message = {item} is required. constraints.TypeInteger.message = {item} must be a number. constraints.TypeLong.message = {item} must be a number. constraints.TypeFloat.message = {item} must be a number. constraints.TypeDouble.message = {item} must be a number. constraints.TypeAny.message = {item} cannot be converted to {propertyType}. constraints.UriType.message = {item} has an unrecognized URI.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 12.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.request().header("Date")); } } static class CurrentDateInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 31 15:32:50 GMT 2018 - 1.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
.build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostString().run(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 25 18:02:55 GMT 2019 - 1.7K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial007_py310.py
except yaml.YAMLError: raise HTTPException(status_code=422, detail="Invalid YAML") try: item = Item.model_validate(data) except ValidationError as e: raise HTTPException(status_code=422, detail=e.errors(include_url=False))Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 797 bytes - Click Count (0)