- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 1,425 for descriptive (0.17 sec)
-
build-logic/build-init-samples/build.gradle.kts
plugins { id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin") } description = "Provides a plugin to generate samples using internal build init APIs" dependencies { implementation("gradlebuild:basics") implementation("org.gradle.guides:gradle-guides-plugin") implementation("org.asciidoctor:asciidoctor-gradle-jvm") { because("This is a transitive dependency of 'gradle-guides-plugin' not declared there") }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 442 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_an_py310.py
from typing import Annotated from fastapi import Body, FastAPI 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(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 550 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() image: Union[Image, None] = None @app.put("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 499 bytes - Viewed (0) -
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.dict() if item.tax: price_with_tax = item.price + item.tax item_dict.update({"price_with_tax": price_with_tax})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 429 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial001.py
from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list = [] @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 402 bytes - Viewed (0) -
compat/maven-model/src/test/resources/xml/pom.xml
<artifactId>maven</artifactId> <version>4.0.0-alpha-1-SNAPSHOT</version> </parent> <artifactId>maven-model</artifactId> <name>Maven Model</name> <description>Model for Maven POM (Project Object Model)</description> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-api-model</artifactId> <version>4.0.0-alpha-1-SNAPSHOT</version>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial006c.py
"/pydantic": { "get": { "summary": "Redirect Pydantic", "operationId": "redirect_pydantic_pydantic_get", "responses": {"302": {"description": "Successful Response"}}, } } },
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 899 bytes - Viewed (0) -
docs_src/response_model/tutorial001_py39.py
from typing import Any, Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Item) -> Any: return item @app.get("/items/", response_model=list[Item])
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 556 bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts
id("gradlebuild.code-quality") id("gradlebuild.module-jar") id("gradlebuild.repositories") id("gradlebuild.reproducible-archives") id("gradlebuild.private-javadoc") } description = "A plugin that sets up a Java code that is shared between build-logic and runtime" java { configureJavaToolChain() sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 15:18:07 UTC 2024 - 779 bytes - Viewed (0)