- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,211 for item2 (0.02 seconds)
-
docs/en/docs/advanced/dataclasses.md
3. The `Author` dataclass includes a list of `Item` dataclasses. 4. The `Author` dataclass is used as the `response_model` parameter. 5. You can use other standard type annotations with dataclasses as the request body. In this case, it's a list of `Item` dataclasses. 6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.2K bytes - Click Count (0) -
fastapi/routing.py
from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI() router = APIRouter() @router.put("/items/{item_id}") def replace_item(item_id: str, item: Item): return {"message": "Item replaced", "id": item_id} app.include_router(router)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
## FastAPI App with Tags { #fastapi-app-with-tags } In many cases, your FastAPI app will be bigger, and you will probably use tags to separate different groups of *path operations*. For example, you could have a section for **items** and another section for **users**, and they could be separated by tags: {* ../../docs_src/generate_clients/tutorial002_py39.py hl[21,26,34] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.1K bytes - Click Count (1) -
docs/ko/docs/advanced/templates.md
/// ## 템플릿 작성하기 그런 다음 `templates/item.html`에 템플릿을 작성할 수 있습니다. 예를 들면: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### 템플릿 컨텍스트 값 다음과 같은 HTML에서: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...이는 전달한 "컨텍스트" `dict`에서 가져온 `id`를 표시합니다: ```Python {"id": id} ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/es/docs/python-types.md
/// Eso significa: "la variable `items` es una `list`, y cada uno de los ítems en esta lista es un `str`". Al hacer eso, tu editor puede proporcionar soporte incluso mientras procesa elementos de la lista: <img src="/img/python-types/image05.png"> Sin tipos, eso es casi imposible de lograr. Nota que la variable `item` es uno de los elementos en la lista `items`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.4K bytes - Click Count (1) -
cmd/api-response.go
VersionID string `xml:"VersionId"` } // Metadata metadata items implemented to ensure XML marshaling works. type Metadata struct { Items []struct { Key string Value string } } // Set add items, duplicate items get replaced. func (s *Metadata) Set(k, v string) { for i, item := range s.Items { if item.Key == k { s.Items[i] = struct { Key string Value string }{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/maven-system.properties
maven.user.conf = ${user.home}/.m2 maven.project.conf = ${session.rootDirectory}/.mvn # Comma-separated list of files to include. # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded. # If the first character of an item is a question mark, the load will silently fail if the file does not exist. ${includes} = ?"${maven.user.conf}/maven-system.properties", \Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 2.6K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/maven-user.properties
# user properties at the very beginning of Maven's boot process. # # Comma-separated list of files to include. # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded. # If the first character of an item is a question mark, the load will silently fail if the file does not exist. ${includes} = ?"${maven.user.conf}/maven-user.properties", \
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/es/docs/advanced/additional-responses.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/de/docs/advanced/additional-responses.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10K bytes - Click Count (0)