Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,036 for query2 (0.06 sec)

  1. docs_src/query_params_str_validations/tutorial004_an.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None], Query(min_length=3, max_length=50, pattern="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 410 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsAccessTokenCB.java

        //                                                                               Query
        //                                                                               =====
        public BsAccessTokenCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsAccessTokenCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsRoleTypeCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsRoleTypeCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsRoleTypeCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/ElevateWord.java

                        labelTypeList = labelIdList.isEmpty() ? Collections.emptyList() : labelTypeBhv.selectList(cb -> {
                            cb.query().setId_InScope(labelIdList);
                            cb.query().addOrderBy_SortOrder_Asc();
                            cb.fetchFirst(fessConfig.getPageLabeltypeMaxFetchSizeAsInteger());
                        });
                    }
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/cookie-params.md

    ```Python hl_lines="9"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | Detalhes Técnicos
    
    `Cookie` é uma classe "irmã" de `Path` e `Query`. Ela também herda da mesma classe em comum `Param`.
    
    Mas lembre-se que quando você importa `Query`, `Path`, `Cookie` e outras de `fastapi`, elas são na verdade funções que retornam classes especiais.
    
    ///
    
    /// info | Informação
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. docs_src/query_param_models/tutorial001_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    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
    - 432 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

            if (accessTokenPager.id != null) {
                cb.query().docMeta().setId_Equal(accessTokenPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Name_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileAuthenticationCB.java

        //                                                                               Query
        //                                                                               =====
        public BsFileAuthenticationCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsFileAuthenticationCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsPathMappingCB.java

        //                                                                               Query
        //                                                                               =====
        public BsPathMappingCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsPathMappingCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsRelatedContentCB.java

        //                                                                               Query
        //                                                                               =====
        public BsRelatedContentCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsRelatedContentCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top