- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,014 for iter (0.02 seconds)
-
docs/zh/docs/index.md
return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ``` `fastapi dev` 服务器会自动重载。 ### 交互式 API 文档升级 { #interactive-api-docs-upgrade } 现在访问 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。 * 交互式 API 文档会自动更新,并包含新的请求体:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 20.7K bytes - Click Count (0) -
internal/store/store.go
// Target - store target interface type Target interface { Name() string SendFromStore(key Key) error } // Store - Used to persist items. type Store[I any] interface { Put(item I) (Key, error) PutMultiple(item []I) (Key, error) Get(key Key) (I, error) GetMultiple(key Key) ([]I, error) GetRaw(key Key) ([]byte, error) PutRaw(b []byte) (Key, error) Len() int List() []Key Del(key Key) errorCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0) -
docs_src/python_types/tutorial008b_py310.py
def process_item(item: int | str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 51 bytes - Click Count (0) -
docs/en/docs/advanced/templates.md
/// ## Writing templates { #writing-templates } Then you can write a template at `templates/item.html` with, for example: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Template Context Values { #template-context-values } In the HTML that contains: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
And if you check all the available Schemas (JSON Schemas) in OpenAPI, you will see that there are two, one `Item-Input` and one `Item-Output`. For `Item-Input`, `description` is **not required**, it doesn't have a red asterisk. But for `Item-Output`, `description` is **required**, it has a red asterisk. <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image04.png">
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_src/python_types/tutorial006_py310.py
def process_items(items: list[str]): for item in items:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 80 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java
form.crudMode = CrudMode.CREATE; }); }); } /** * Displays the form for editing an existing related content item. * * @param form the edit form containing the ID of the item to edit * @return HTML response for the edit form */ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.5K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 11.2K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_edit.jsp
<ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><la:link href="/admin/dict"> <la:message key="labels.dict_list_link"/> </la:link></li> <li class="breadcrumb-item"><la:link href="../list/1/?dictId=${f:u(dictId)}"> <la:message key="labels.dict_stopwords_list_link"/>Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 7K bytes - Click Count (0) -
docs_src/dataclasses_/tutorial003_py310.py
@dataclass class Item: name: str description: str | None = None @dataclass class Author: name: str items: list[Item] = field(default_factory=list) # (3) app = FastAPI() @app.post("/authors/{author_id}/items/", response_model=Author) # (4) async def create_author_items(author_id: str, items: list[Item]): # (5)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.3K bytes - Click Count (0)