Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 909 for item01 (0.04 seconds)

  1. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_details.jsp

                                                <c:forEach var="l" varStatus="s"
                                                           items="${labelTypeItems}">
                                                    <c:forEach var="ltid" varStatus="s"
                                                               items="${labelTypeIds}">
                                                        <c:if test="${ltid==l.id}">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/dataclasses.md

    ```
    
    1. 本例依然要从标准的 `dataclasses` 中导入 `field`;
    
    2. 使用 `pydantic.dataclasses` 直接替换 `dataclasses`;
    
    3. `Author` 数据类包含 `Item` 数据类列表;
    
    4. `Author` 数据类用于 `response_model` 参数;
    
    5. 其它带有数据类的标准类型注解也可以作为请求体;
    
        本例使用的是 `Item` 数据类列表;
    
    6. 这行代码返回的是包含 `items` 的字典,`items` 是数据类列表;
    
        FastAPI 仍能把数据<abbr title="把数据转换为可以传输的格式">序列化</abbr>为 JSON;
    
    7. 这行代码中,`response_model` 的类型注解是 `Author` 数据类列表;
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. docs_src/body_fields/tutorial001_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 523 bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial006_py39.py

        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 583 bytes
    - Click Count (0)
  5. .teamcity/src/test/kotlin/Commons.kt

        projectId = AbsoluteId("Gradle_Master")
        settingsRootId = AbsoluteId("GradleMaster")
        settingsRoot.name = "GradleMaster"
        addParameters("branch" to "master")
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 662 bytes
    - Click Count (0)
  6. docs_src/body_multiple_params/tutorial004_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Mar 10 18:49:18 GMT 2023
    - 603 bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java

    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestBulkFileWriter is an implementation of the SuggestWriter interface.
     * This class is responsible for writing and deleting suggest items in bulk.
     *
     * <p>Currently, the methods in this class throw UnsupportedOperationException
     * as they are not yet implemented.</p>
     *
     * @see SuggestWriter
     */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. tests/test_arbitrary_types.py

            "custom_field": [1.0, 2.0, 3.0]
        }
        assert ta.json_schema() == snapshot(
            {
                "properties": {
                    "custom_field": {
                        "items": {"type": "number"},
                        "title": "Custom Field",
                        "type": "array",
                    }
                },
                "required": ["custom_field"],
                "title": "MyModel",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. docs_src/schema_extra_example/tutorial004_an_py39.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jul 01 16:43:29 GMT 2023
    - 936 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

            return input;
        }
    
        /**
         * Checks if the item has been updated.
         *
         * @return true if the item has been updated, false otherwise.
         */
        public boolean isUpdated() {
            return newInput != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top