- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 1,447 for description (0.08 seconds)
-
docs_src/body_nested_models/tutorial005_py310.py
from fastapi import FastAPI from pydantic import BaseModel, HttpUrl app = FastAPI() class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() image: Image | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 468 bytes - Click Count (0) -
docs/pt/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Isso significa que o **FastAPI** vai esperar um corpo similar à: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": { "url": "http://example.com/baz.jpg", "name": "The Foo live" } } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.3K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py
"summary": "Read Main", "operationId": "read_main_app_get", "responses": { "200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, } }, } } },
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0) -
cmd/tier_test.go
} for range expFailure { globalTierMetrics.logFailure(tier) } metrics := globalTierMetrics.Report() var succ, fail float64 for _, metric := range metrics { switch metric.Description.Name { case tierRequestsSuccess: succ += metric.Value case tierRequestsFailure: fail += metric.Value } } if int(succ) != expSuccess {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.5K bytes - Click Count (0) -
docs/tr/docs/advanced/openapi-callbacks.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Cela signifie que FastAPI attendrait un corps similaire à : ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": { "url": "http://example.com/baz.jpg", "name": "The Foo live" } } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/ko/docs/tutorial/body.md
예를 들면, 위의 이 모델은 JSON "`object`" (혹은 파이썬 `dict`)을 다음과 같이 선언합니다: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...`description`과 `tax`는 (기본 값이 `None`으로 되어 있어) 선택적이기 때문에, 이 JSON "`object`"는 다음과 같은 상황에서도 유효합니다: ```JSON { "name": "Foo", "price": 45.2 } ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body.md
就和宣告查詢參數時一樣,當模型屬性有預設值時,它就不是必填;否則就是必填。使用 `None` 可使其成為選填。 例如,上述模型對應的 JSON「`object`」(或 Python `dict`)如下: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...由於 `description` 與 `tax` 是選填(預設為 `None`),以下這個 JSON「`object`」也有效: ```JSON { "name": "Foo", "price": 45.2 } ``` ## 將它宣告為參數 { #declare-it-as-a-parameter }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/user/admin_user_edit.jsp
<label for="attributes.description" class="col-sm-3 text-sm-right col-form-label"><la:message key="labels.user_description"/></label> <div class="col-sm-9"> <la:errors property="attributes.description"/>Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 31.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
```Python hl_lines="3 5" { "name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2 } ``` 这些值将包含在响应中。 #### 具有与默认值相同值的数据 { #data-with-the-same-values-as-the-defaults } 如果数据具有与默认值相同的值,例如 ID 为 `baz` 的项: ```Python hl_lines="3 5-6" { "name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": [] }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0)