- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 347 for itemId (0.09 seconds)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
StopwordsItem item3 = new StopwordsItem(1, "word"); // Two items with null input should be equal assertTrue(item1.equals(item2)); // Item with null input should not equal item with non-null input assertFalse(item3.equals(item1)); assertFalse(item1.equals(item3)); // Symmetry assertTrue(item1.equals(item2));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertTrue(item1.equals(item2)); // Item with null input should not equal item with non-null input assertFalse(item3.equals(item1)); assertFalse(item1.equals(item3)); // Symmetry assertTrue(item1.equals(item2)); assertTrue(item2.equals(item1)); } @Test public void test_toString() { // Test toString method
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertFalse(item1.equals(item3)); // Item with null output should not equal item with different inputs CharMappingItem item4 = new CharMappingItem(4L, inputs3, null); assertFalse(item1.equals(item4)); // Symmetry assertTrue(item1.equals(item2)); assertTrue(item2.equals(item1)); } @Test public void test_toString() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
docs/uk/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool | None = None @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} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 29.1K bytes - Click Count (0) -
docs/zh/docs/index.md
用浏览器打开 [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery)。 你会看到如下 JSON 响应: ```JSON {"item_id": 5, "q": "somequery"} ``` 你已经创建了一个 API,它可以: * 在路径 `/` 和 `/items/{item_id}` 接收 HTTP 请求。 * 以上两个路径都接受 `GET` 操作(也称为 HTTP 方法)。 * 路径 `/items/{item_id}` 有一个应为 `int` 的路径参数 `item_id`。 * 路径 `/items/{item_id}` 有一个可选的 `str` 类型查询参数 `q`。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) -
docs/ja/docs/index.md
ブラウザで [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery) を開きます。 以下の JSON のレスポンスが確認できます。 ```JSON {"item_id": 5, "q": "somequery"} ``` すでに以下の API が作成されています。 * _パス_ `/` と `/items/{item_id}` で HTTP リクエストを受け取ります。 * 両方の _パス_ は `GET` 操作(HTTP _メソッド_ としても知られています)を取ります。 * _パス_ `/items/{item_id}` は `int` であるべき _パスパラメータ_ `item_id` を持ちます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 25.6K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params.md
Wenn Sie nun zu: ``` http://127.0.0.1:8000/items/foo?short=1 ``` oder ``` http://127.0.0.1:8000/items/foo?short=True ``` oder ``` http://127.0.0.1:8000/items/foo?short=true ``` oder ``` http://127.0.0.1:8000/items/foo?short=on ``` oder ``` http://127.0.0.1:8000/items/foo?short=yes ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params.md
"input": null } ] } ``` `needy` 是必选参数,因此要在 URL 中设置值: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ...这样就正常了: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ``` 当然,把一些参数定义为必选,为另一些参数设置默认值,再把其它参数定义为可选,这些操作都是可以的: {* ../../docs_src/query_params/tutorial006_py310.py hl[8] *} 本例中有 3 个查询参数:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/tr/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool | None = None @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} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 23.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertEquals(2, result.size()); CharMappingItem item1 = result.get(0); assertArrayEquals(new String[] { "α", "β" }, item1.getInputs()); assertEquals("γ", item1.getOutput()); CharMappingItem item2 = result.get(1); assertArrayEquals(new String[] { "中", "文" }, item2.getInputs()); assertEquals("字", item2.getOutput()); } // Test with very long input line
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)