Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for 100m (0.02 sec)

  1. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py

        response = client.get("/items/1001?q=somequery&size=5")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["path", "item_id"],
                    "input": "1001",
                    "msg": "Input should be less than or equal to 1000",
                    "type": "less_than_equal",
                    "ctx": {"le": 1000},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py

        response = client.get("/items/1001?q=somequery")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["path", "item_id"],
                    "input": "1001",
                    "msg": "Input should be less than or equal to 1000",
                    "type": "less_than_equal",
                    "ctx": {"le": 1000},
                }
            ]
        }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * This affects which documents are included in search results by default.
         */
        @Size(max = 1000)
        public String defaultLabelValue;
    
        /**
         * Default sort order for search results.
         * Defines how search results are ordered when no specific sort is requested.
         */
        @Size(max = 1000)
        public String defaultSortValue;
    
        /**
         * Virtual host configuration for multi-tenant setups.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. tests/test_union_body_discriminator.py

        assert response.status_code == 200, response.text
        assert response.json() == {"item": {"value": "first", "price": 100}}
    
        response = client.post("/items/?q=other", json={"value": "other", "price": 100.5})
        assert response.status_code == 200, response.text
        assert response.json() == {"item": {"value": "other", "price": 100.5}}
    
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. docs_src/advanced_middleware/tutorial003_py39.py

    from fastapi import FastAPI
    from fastapi.middleware.gzip import GZipMiddleware
    
    app = FastAPI()
    
    app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5)
    
    
    @app.get("/")
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 230 bytes
    - Viewed (0)
  6. src/main/resources/fess_config.properties

    page.data.config.max.fetch.size=100
    # Maximum number of web config records to fetch per page.
    page.web.config.max.fetch.size=100
    # Maximum number of file config records to fetch per page.
    page.file.config.max.fetch.size=100
    # Maximum number of duplicate host records to fetch per page.
    page.duplicate.host.max.fetch.size=1000
    # Maximum number of failure URL records to fetch per page.
    page.failure.url.max.fetch.size=1000
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  7. docs_src/path_params_numeric_validations/tutorial005_py39.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", gt=0, le=1000),
        q: str,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 298 bytes
    - Viewed (0)
  8. docs_src/path_params_numeric_validations/tutorial006_py39.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 397 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

                defaultMap.put(FessConfig.PAGE_REQUEST_HEADER_MAX_FETCH_SIZE, "1000");
                defaultMap.put(FessConfig.PAGE_SCHEDULED_JOB_MAX_FETCH_SIZE, "100");
                defaultMap.put(FessConfig.PAGE_ELEVATE_WORD_MAX_FETCH_SIZE, "1000");
                defaultMap.put(FessConfig.PAGE_BAD_WORD_MAX_FETCH_SIZE, "1000");
                defaultMap.put(FessConfig.PAGE_DICTIONARY_MAX_FETCH_SIZE, "1000");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 525.7K bytes
    - Viewed (2)
  10. docs_src/body_multiple_params/tutorial001_py39.py

        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: Union[str, None] = None,
        item: Union[Item, None] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 596 bytes
    - Viewed (0)
Back to top