- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,551 for description (0.05 sec)
-
docs/zh/docs/tutorial/body.md
与声明查询参数一样,包含默认值的模型属性是可选的,否则就是必选的。默认值为 `None` 的模型属性也是可选的。 例如,上述模型声明如下 JSON **对象**(即 Python **字典**): ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ……由于 `description` 和 `tax` 是可选的(默认值为 `None`),下面的 JSON **对象**也有效: ```JSON { "name": "Foo", "price": 45.2 } ``` ## 声明请求体参数Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial001b.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial005.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 985 bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-expected.xml
<groupId>inheritance</groupId> <artifactId>inheritance</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test child</name> <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description> <!-- 5 inherited urls with ../${project.artifactId} added to parent --> <url>http://www.apache.org/path/to/parent/../inheritance/</url> <scm>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-parent.xml
<groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test parent</name> <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description> <modules> <module>../inheritance</module> </modules> <!-- 5 urls in the pom will be inherited with path added -->
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/urls-parent.xml
<groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test parent</name> <description>Most classical case: child in direct subdirectory with directory name == child artifactId</description> <modules> <module>child-artifact-id</module> </modules> <!-- 5 urls in the pom will be inherited with path added -->
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 674 bytes - Viewed (0) -
tests/test_tutorial/test_path_params/test_tutorial003b.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
&& options.model().isEmpty()) { return true; } return false; } /** * Gets a description of what this strategy does. * * @return a human-readable description of the strategy */ String getDescription();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 3.4K bytes - Viewed (0) -
docs_src/additional_responses/tutorial002_py39.py
id: str value: str app = FastAPI() @app.get( "/items/{item_id}", response_model=Item, responses={ 200: { "content": {"image/png": {}}, "description": "Return the JSON item or an image.", } }, ) async def read_item(item_id: str, img: Union[bool, None] = None): if img: return FileResponse("image.png", media_type="image/png") else:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 628 bytes - Viewed (0)