Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 402 for item_2 (0.04 seconds)

  1. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            final List<String> items = List.of("item1", "item2", "item3");
            chatApiManager.sendSseEvent(writer, "test", Map.of("items", items));
    
            final String output = stringWriter.toString();
            assertTrue(output.contains("event: test"));
            assertTrue(output.contains("["));
            assertTrue(output.contains("item1"));
            assertTrue(output.contains("item2"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

         * the item's current state.
         * </p>
         *
         * @param dictId the dictionary ID to store the character mapping item in
         * @param charMappingItem the character mapping item to store
         */
        public void store(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. docs_src/extra_models/tutorial004_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str
    
    
    items = [
        {"name": "Foo", "description": "There comes my hero"},
        {"name": "Red", "description": "It's my aeroplane"},
    ]
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 356 bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/searchResults.jsp

    			<ul class="list-group mb-2">
    				<li class="list-group-item text-uppercase"><la:message key="${facetQueryView.title}" /></li>
    				<c:set var="facetFound" value="F"/>
    				<c:forEach var="queryEntry" items="${facetQueryView.queryMap}">
    					<c:if test="${facetResponse.queryCountMap[queryEntry.value] > 0}">
    						<li class="list-group-item"><la:link
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  5. buildscripts/heal-manual.go

    			fmt.Println("Healstatus on items ===")
    			for _, item := range status.Items {
    				if err = enc.Encode(&item); err != nil {
    					log.Fatalln(err)
    				}
    			}
    			break
    		}
    		if status.Summary == "stopped" {
    			fmt.Println("Healstatus on items ===")
    			fmt.Println("Heal failed with", status.FailureDetail)
    			break
    		}
    
    		for _, item := range status.Items {
    			if err = enc.Encode(&item); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 27 09:47:58 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/dependencies/index.md

    Наприклад, припустімо, у вас є 4 кінцеві точки API (*операції шляху*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    тоді ви могли б додати різні вимоги до дозволів для кожної з них лише за допомогою залежностей і субзалежностей:
    
    ```mermaid
    graph TB
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/security/oauth2-scopes.md

    现在我们声明,路径操作 `/users/me/items/` 需要作用域 `items`。
    
    为此,从 `fastapi` 导入并使用 `Security`。
    
    你可以用 `Security` 来声明依赖(就像 `Depends` 一样),但 `Security` 还接收一个 `scopes` 参数,其值是作用域(字符串)列表。
    
    在这里,我们把依赖函数 `get_current_active_user` 传给 `Security`(就像用 `Depends` 一样)。
    
    同时还传入一个作用域 `list`,此处仅包含一个作用域:`items`(也可以包含更多)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    現在我們宣告 `/users/me/items/` 這個路徑操作需要 `items` 這個 scope。
    
    為此,我們從 `fastapi` 匯入並使用 `Security`。
    
    你可以使用 `Security` 來宣告相依性(就像 `Depends`),但 `Security` 也能接收參數 `scopes`,其為 scopes(字串)的列表。
    
    在這裡,我們將相依函式 `get_current_active_user` 傳給 `Security`(就像使用 `Depends` 一樣)。
    
    但同時也傳入一個 `list` 的 scopes,這裡只有一個 scope:`items`(當然也可以有更多)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. docs/ko/docs/deployment/docker.md

    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile { #dockerfile }
    
    이제 같은 프로젝트 디렉터리에 다음 내용으로 `Dockerfile` 파일을 만듭니다:
    
    ```{ .dockerfile .annotate }
    # (1)!
    FROM python:3.14
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 32.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            // Test that defensive copy handles null arrays correctly
            SynonymItem item1 = new SynonymItem(1, new String[] { "a" }, new String[] { "x" });
    
            // Set to null
            item1.setNewInputs(null);
            item1.setNewOutputs(null);
    
            // Should return null, not crash
            assertNull(item1.getNewInputs());
            assertNull(item1.getNewOutputs());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8K bytes
    - Click Count (1)
Back to Top