Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 524 for item01 (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/python_types/tutorial005_py310.py

    def get_items(item_a: str, item_b: int, item_c: float, item_d: bool, item_e: bytes):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 135 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            TestDictionaryItem item1 = new TestDictionaryItem();
            TestDictionaryItem item2 = new TestDictionaryItem();
    
            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. docs_src/extra_models/tutorial003_py310.py

        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    
    @app.get("/items/{item_id}", response_model=PlaneItem | CarItem)
    async def read_item(item_id: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 612 bytes
    - Click Count (0)
  4. docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 407 bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. internal/store/queuestore.go

    	}
    
    	return raw, err
    }
    
    // Get - gets an item from the store.
    func (store *QueueStore[I]) Get(key Key) (item I, err error) {
    	items, err := store.GetMultiple(key)
    	if err != nil {
    		return item, err
    	}
    	return items[0], nil
    }
    
    // GetMultiple will read the multi payload file and fetch the items
    func (store *QueueStore[I]) GetMultiple(key Key) (items []I, err error) {
    	raw, err := store.GetRaw(key)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

        response = client.put(
            "/items/5",
            json={"description": "A very nice Item"},
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "name"],
                    "input": {"description": "A very nice Item"},
                    "msg": "Field required",
                    "type": "missing",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                                    "type": "array",
                                    "items": {"type": "string"},
                                    "uniqueItems": True,
                                },
                                "images": {
                                    "anyOf": [
                                        {
                                            "items": {
                                                "$ref": "#/components/schemas/Image",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

        }
    
    
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.9K bytes
    - Click Count (0)
Back to Top