- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 633 for Description (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_schema_extra_examples.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 34.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
// Test creating new element Element description = DomUtils.updateOrCreateChildElement(root, "description", "Test Description"); assertNotNull(description, "Should return created element"); xmlOutput = DomUtils.toXml(doc); assertTrue(xmlOutput.contains("<description>Test Description</description>"), "Should contain new description"); // Verify element ordering is maintainedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10.3K bytes - Click Count (0) -
fastapi/security/http.py
model: HTTPBaseModel def __init__( self, *, scheme: str, scheme_name: str | None = None, description: str | None = None, auto_error: bool = True, ): self.model = HTTPBaseModel(scheme=scheme, description=description) self.scheme_name = scheme_name or self.__class__.__name__ self.auto_error = auto_errorCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
<superClass>TrackableBase</superClass> <description> The {@code <toolchains>} element is the root of the descriptor. The following table lists all the possible child elements. </description> <version>1.0.0+</version> <fields> <field> <name>toolchains</name> <version>1.0.0+</version> <description>The toolchain instance definition.</description>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
{* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ...then the `description` field will **not be required**. Because it has a default value of `None`. ### Input Model in Docs { #input-model-in-docs } You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required: <div class="screenshot">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/separate-openapi-schemas.md
在 OpenAPI 中,描述這種情況的方式是將該欄位標記為必填,因為它一定存在。 因此,同一個模型的 JSON Schema 會依用於輸入或輸出而不同: - 用於輸入時,`description` 不是必填 - 用於輸出時,`description` 是必填(且可能為 `None`,在 JSON 中為 `null`) ### 文件中的輸出模型 { #model-for-output-in-docs } 你也可以在文件中檢視輸出模型,`name` 與 `description` 都以紅色星號標示為必填: <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image03.png"> </div>Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/zh/docs/how-to/separate-openapi-schemas.md
### 输入用的模型 { #model-for-input } 如果你像下面这样把该模型用作输入: {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ...那么 `description` 字段将**不是必填项**,因为它的默认值是 `None`。 ### 文档中的输入模型 { #input-model-in-docs } 你可以在文档中确认,`description` 字段没有**红色星号**,也就是未被标记为必填: <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image01.png"> </div> ### 输出用的模型 { #model-for-output }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 4.3K bytes - Click Count (0) -
docs_src/stream_json_lines/tutorial001_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None items = [ Item(name="Plumbus", description="A multi-purpose household device."), Item(name="Portal Gun", description="A portal opening device."), Item(name="Meeseeks Box", description="A box that summons a Meeseeks."), ] @app.get("/items/stream")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 936 bytes - Click Count (0) -
tests/test_sub_callbacks.py
"title": "InvoiceEvent", "required": ["description", "paid"], "type": "object", "properties": { "description": { "title": "Description", "type": "string", },
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 14.3K bytes - Click Count (0)