Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,602 for item (0.15 sec)

  1. docs_src/dependencies/tutorial008b_py39.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)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 735 bytes
    - Viewed (0)
  2. src/main/resources/fess_message_id.properties

    constraints.URL.message = {item} bukan URL yang valid.
    constraints.Required.message = {item} wajib diisi.
    constraints.TypeInteger.message = {item} harus berupa angka.
    constraints.TypeLong.message = {item} harus berupa angka.
    constraints.TypeFloat.message = {item} harus berupa angka.
    constraints.TypeDouble.message = {item} harus berupa angka.
    constraints.TypeAny.message = {item} tidak dapat dikonversi ke {propertyType}.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 07 14:12:58 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial005_py310.py

        },
    }
    
    
    @app.get(
        "/items/{item_id}/name",
        response_model=Item,
        response_model_include={"name", "description"},
    )
    async def read_item_name(item_id: str):
        return items[item_id]
    
    
    @app.get("/items/{item_id}/public", response_model=Item, response_model_exclude={"tax"})
    async def read_item_public_data(item_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 816 bytes
    - Viewed (0)
  4. docs_src/response_model/tutorial005_py39.py

        },
    }
    
    
    @app.get(
        "/items/{item_id}/name",
        response_model=Item,
        response_model_include={"name", "description"},
    )
    async def read_item_name(item_id: str):
        return items[item_id]
    
    
    @app.get("/items/{item_id}/public", response_model=Item, response_model_exclude={"tax"})
    async def read_item_public_data(item_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 848 bytes
    - Viewed (0)
  5. docs_src/body/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 309 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                }
                item = newItem;
            }
    
            /**
             * Writes a protwords item to the temporary file.
             * @param oldItem the item to write
             * @return the written item or null if deleted
             */
            public ProtwordsItem write(final ProtwordsItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/main/resources/fess_message.properties

    constraints.URL.message = {item} is not a valid URL.
    constraints.Required.message = {item} is required.
    constraints.TypeInteger.message = {item} must be a number.
    constraints.TypeLong.message = {item} must be a number.
    constraints.TypeFloat.message = {item} must be a number.
    constraints.TypeDouble.message = {item} must be a number.
    constraints.TypeAny.message = {item} cannot be converted to {propertyType}.
    constraints.UriType.message = {item} has an unrecognized URI.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/main/resources/fess_message_en.properties

    constraints.URL.message = {item} is not a valid URL.
    constraints.Required.message = {item} is required.
    constraints.TypeInteger.message = {item} must be a number.
    constraints.TypeLong.message = {item} must be a number.
    constraints.TypeFloat.message = {item} must be a number.
    constraints.TypeDouble.message = {item} must be a number.
    constraints.TypeAny.message = {item} cannot be converted to {propertyType}.
    constraints.UriType.message = {item} has an unrecognized URI.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. tests/test_serialize_response_dataclass.py

    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

                    .orElse(OptionalEntity.empty());
        }
    
        /**
         * Get a Kuromoji item.
         *
         * @param dictId The dictionary ID.
         * @param id The ID of the Kuromoji item.
         * @return An optional entity of the Kuromoji item.
         */
        public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top