Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,093 for _body (0.01 sec)

  1. docs_src/schema_extra_example/tutorial004_py39.py

    from typing import Union
    
    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: Item = Body(
            examples=[
                {
                    "name": "Foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 824 bytes
    - Viewed (0)
  2. docs_src/body_fields/tutorial001_py39.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[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: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 561 bytes
    - Viewed (0)
  3. docs_src/body_fields/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[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: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 582 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "name"],
                    "input": {},
                    "msg": "Field required",
                    "type": "missing",
                },
                {
                    "loc": ["body", "price"],
                    "input": {},
                    "msg": "Field required",
                    "type": "missing",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/role/admin_role_edit.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.role_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    import jakarta.annotation.Resource;
    
    /**
     * A response processor implementation that handles sitemaps.
     * It parses the response body as a SitemapSet, extracts URLs from the sitemaps,
     * and adds them as child URLs to be crawled.
     *
     * <p>
     * This class uses a {@link SitemapsHelper} to parse the sitemap XML or text.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/CreateBody.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.boostdoc;
    
    import org.codelibs.fess.app.web.admin.boostdoc.CreateForm;
    
    /**
     * Request body for creating boost document via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1009 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/CreateBody.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict.kuromoji;
    
    import org.codelibs.fess.app.web.admin.dict.kuromoji.CreateForm;
    
    /**
     * Request body for creating kuromoji dictionary via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/SearchBody.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict.mapping;
    
    import org.codelibs.fess.app.web.api.admin.dict.BaseSearchDictBody;
    
    /**
     * Search request body for mapping dictionary administration.
     * Extends BaseSearchDictBody with mapping dictionary-specific search parameters.
     */
    public class SearchBody extends BaseSearchDictBody {
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/CreateBody.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict.stopwords;
    
    import org.codelibs.fess.app.web.admin.dict.stopwords.CreateForm;
    
    /**
     * Request body for creating stop words dictionary via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top