Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,068 for jquery (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        private List<Integer> pageNumberList;
    
        private int pageSize;
    
        private int currentPageNumber;
    
        public String id;
    
        public String term;
    
        public String query;
    
        public String maxSize;
    
        public String boost;
    
        public String createdBy;
    
        public String createdTime;
    
        public String versionNo;
    
        public void clear() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial001_py310.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 422 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        protected void setupListCondition(final BadWordCB cb, final BadWordPager badWordPager) {
            if (badWordPager.id != null) {
                cb.query().docMeta().setId_Equal(badWordPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SuggestWord_Asc();
    
            // search
    
        }
    
        public void importCsv(final Reader reader) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_an_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 493 bytes
    - Viewed (0)
  5. docs_src/query_param_models/tutorial002_pv1_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 466 bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body-multiple-params.md

    # 请求体 - 多个参数
    
    既然我们已经知道了如何使用 `Path` 和 `Query`,下面让我们来了解一下请求体声明的更高级用法。
    
    ## 混合使用 `Path`、`Query` 和请求体参数
    
    首先,毫无疑问地,你可以随意地混合使用 `Path`、`Query` 和请求体参数声明,**FastAPI** 会知道该如何处理。
    
    你还可以通过将默认值设置为 `None` 来将请求体参数声明为可选参数:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/body-multiple-params.md

    # ボディ - 複数のパラメータ
    
    これまで`Path`と`Query`をどう使うかを見てきましたが、リクエストボディの宣言のより高度な使い方を見てみましょう。
    
    ## `Path`、`Query`とボディパラメータを混ぜる
    
    まず、もちろん、`Path`と`Query`とリクエストボディのパラメータの宣言は自由に混ぜることができ、 **FastAPI** は何をするべきかを知っています。
    
    また、デフォルトの`None`を設定することで、ボディパラメータをオプションとして宣言することもできます:
    
    ```Python hl_lines="19 20 21"
    {!../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    /// note | "備考"
    
    この場合、ボディから取得する`item`はオプションであることに注意してください。デフォルト値は`None`です。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. docs_src/path_params_numeric_validations/tutorial006_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 447 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial004_py310.py

                                    {"title": "Q", "type": "string"}
                                ),
                                "name": "q",
                                "in": "query",
                            },
                            {
                                "required": False,
                                "schema": {
                                    "title": "Skip",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. MIGRATION.md

    For the more details, see the implementation code in [GsaApiManager](/src/main/java/org/codelibs/fess/api/gsa/GsaApiManager.java).
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 05 06:12:02 UTC 2019
    - 1.6K bytes
    - Viewed (0)
Back to top