- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,543 for item (0.02 seconds)
-
docs_src/dependencies/tutorial008b_an_py310.py
@app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[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 - 775 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
@Test public void test_update() { loadTestData(); StopwordsItem item = stopwordsFile.get(1).get(); item.setNewInput("updated"); stopwordsFile.update(item); // Verify the item was updated OptionalEntity<StopwordsItem> result = stopwordsFile.get(1); assertTrue(result.isPresent()); assertEquals("updated", result.get().getInput()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/ItemForm.java
import jakarta.validation.constraints.Size; /** * Form class for storage item operations in the admin interface. * This form handles file upload and management operations for storage items. */ public class ItemForm { /** The path of the storage item */ public String path; /** * Default constructor. */ public ItemForm() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java
} RenderDataUtil.register(data, "webConfigItems", itemList); } /** * Creates a map item for UI rendering with label and value. * * @param label the display label for the item * @param value the value for the item * @return map containing the label and value */ protected Map<String, String> createItem(final String label, final String value) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 17.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java
form.crudMode = CrudMode.CREATE; }); }); } /** * Displays the form for editing an existing related query 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 - 16.3K bytes - Click Count (0) -
docs_src/query_params/tutorial003_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_item(item_id: str, q: str | None = None, short: bool = False): item = {"item_id": item_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long description"} )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 374 bytes - Click Count (0) -
.ci/os.ps1
$ErrorActionPreference="Stop" $gradleInit = "C:\Users\$env:username\.gradle\init.d\" echo "Remove $gradleInit" Remove-Item -Recurse -Force $gradleInit -ErrorAction Ignore New-Item -ItemType directory -Path $gradleInit echo "Copy .ci/init.gradle to $gradleInit" Copy-Item .ci/init.gradle -Destination $gradleInit [Environment]::SetEnvironmentVariable("JAVA_HOME", $null, "Machine")
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 08 20:49:46 GMT 2020 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
} /** * Retrieves a specific synonym dictionary item by ID. * * @param dictId the dictionary ID * @param id the ID of the synonym item to retrieve * @return JSON response containing the synonym dictionary item */ // GET /api/admin/dict/synonym/setting/{dictId}/{id} @ExecuteCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
) def response_model_model1_annotation_model2_return_invalid_dict() -> Item: return {"name": "John"} @app.get( "/response_model_model1-annotation_model2-return_invalid_model", response_model=User ) def response_model_model1_annotation_model2_return_invalid_model() -> Item: return Item(name="Foo", price=42.0) @app.get(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp
items="${pageNumberList}"> <li <c:if test="${pageNumber == currentPageNumber}">class="page-item active"</c:if>> <la:linkCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 20.1K bytes - Click Count (0)