- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,267 for item (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/additional_status_codes/tutorial001_an_py310.py
app = FastAPI() items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}} @app.put("/items/{item_id}") async def upsert_item( item_id: str, name: Annotated[str | None, Body()] = None, size: Annotated[int | None, Body()] = None, ): if item_id in items: item = items[item_id] item["name"] = name item["size"] = size
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 686 bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/common/admin/header.jsp
<ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"> <i class="fas fa-bars" aria-hidden="true"></i> <span class="sr-only"><la:message key="labels.admin_toggle_navi" /></span> </a> </li> </ul> <ul class="navbar-nav ml-auto"> <c:if test="${eoled}"> <li class="nav-item" data-toggle="tooltip" data-placement="left"
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 2.7K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/main.py
raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/") async def create_item(item: Item, x_token: Annotated[str, Header()]) -> Item: if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db: raise HTTPException(status_code=409, detail="Item already exists")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:32:24 GMT 2026 - 1.1K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial003_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", summary="Create an item", description="Create an item with all the information, name, description, price, tax and a set of unique tags", ) async def create_item(item: Item) -> Item:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 457 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial001_an_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str | None = None, item: Item | None = None, ): results = {"item_id": item_id} if q:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 579 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Debug: print what we actually got if (result.size() > 0) { for (CharMappingItem item : result) { System.out.println("Unexpected item: " + item.toLineString()); } } // An empty file should return no items assertEquals("Empty file should have no items", 0, result.size()); assertEquals("Empty file should have no records", 0, result.getAllRecordCount());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
docs_src/dependencies/tutorial008b_py310.py
@app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found") item = data[item_id] if item["owner"] != username: raise OwnerError(username)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 735 bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/breadcrumb.jsp
<li class="breadcrumb-item"><la:message key="labels.menu_suggest" /></li> </c:if> <c:if test="${param.menuCategoryType == 'log'}"> <li class="breadcrumb-item"><la:message key="labels.menu_system_log" /></li> </c:if> <c:if test="${crudMode == null}"> <li class="breadcrumb-item active"><la:message key="labels.crud_link_list" /></li> </c:if> <c:if test="${crudMode != null}"> <li class="breadcrumb-item"><la:link href="../list">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 1.6K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial004_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post("/items/", summary="Create an item") async def create_item(item: Item) -> Item: """ Create an item with all the information: - **name**: each item must have a name - **description**: a long description
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 625 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
} item = newItem; } /** * Writes the old item to the new file. * * @param oldItem The old item. * @return The new item if it was updated, otherwise the old item. */ public KuromojiItem write(final KuromojiItem oldItem) { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.7K bytes - Click Count (0)