Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,015 for flat (0.01 sec)

  1. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @dataclass
    class Item:
        id: uuid.UUID
        name: str
        price: float
        tags: list[str] = field(default_factory=list)
        description: Union[str, None] = None
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.get("/item", response_model=Item)
    async def read_item():
        return {
            "id": uuid.uuid4(),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. docs_src/body_updates/tutorial002_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

    public class ElevateWord {
    
        /**
         * The elevate word.
         */
        protected final String elevateWord;
    
        /**
         * The boost value associated with the elevate word.
         */
        protected final float boost;
    
        /**
         * The list of readings associated with the elevate word.
         */
        protected final List<String> readings;
    
        /**
         * The list of fields associated with the elevate word.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

        padding-right: 8px;
      }
    
      .daterangepicker .ranges, .daterangepicker .drp-calendar {
        float: left;
      }
    }
    
    @media (min-width: 730px) {
      .daterangepicker .ranges {
        width: auto;
      }
    
      .daterangepicker .ranges {
        float: left;
      }
    
      .daterangepicker.rtl .ranges {
        float: right;
      }
    
      .daterangepicker .drp-calendar.left {
        clear: none !important;
      }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_ilm_expiry_replication.sh

    flag=$(./mc admin replicate info sitea --json | jq '.sites[] | select (.name=="sitea") | ."replicate-ilm-expiry"')
    if [ "$flag" != "false" ]; then
    	echo "BUG: ILM expiry replication not disabled for 'sitea'"
    	exit 1
    fi
    flag=$(./mc admin replicate info siteb --json | jq '.sites[] | select (.name=="sitea") | ."replicate-ilm-expiry"')
    if [ "$flag" != "false" ]; then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        }
    
        @Nested
        @DisplayName("Flag Management Tests")
        class FlagManagementTests {
    
            @Test
            @DisplayName("isFlagSet should correctly identify set flags")
            void testIsFlagSet() {
                // Test when flag is not set
                message.flags = 0;
                assertFalse(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));
    
                // Test when flag is set
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial005_py310.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 369 bytes
    - Viewed (0)
  8. docs_src/body_nested_models/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 369 bytes
    - Viewed (0)
  9. docs_src/body_nested_models/tutorial003_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 371 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

        /** The total number of records. */
        private int allRecordCount;
    
        /** The total number of pages. */
        private int allPageCount;
    
        /** A flag indicating if a previous page exists. */
        private boolean existPrePage;
    
        /** A flag indicating if a next page exists. */
        private boolean existNextPage;
    
        /** A list of page numbers for navigation. */
        private List<Integer> pageNumberList;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top