Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 987 for queryFn (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ru/docs/tutorial/cookie-params.md

    Вы можете задать параметры Cookie таким же способом, как `Query` и `Path` параметры.
    
    ## Импорт `Cookie` { #import-cookie }
    
    Сначала импортируйте `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## Объявление параметров `Cookie` { #declare-cookie-parameters }
    
    Затем объявляйте параметры cookie, используя ту же структуру, что и с `Path` и `Query`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. tests/test_query_cookie_header_model_extra_params.py

    from fastapi import Cookie, FastAPI, Header, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Model(BaseModel):
        param: str
    
        model_config = {"extra": "allow"}
    
    
    @app.get("/query")
    async def query_model_with_extra(data: Model = Query()):
        return data
    
    
    @app.get("/header")
    async def header_model_with_extra(data: Model = Header()):
        return data
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/service/FessAppServiceTest.java

            assertEquals("*test query*", service.callWrapQuery("test query"));
        }
    
        @Test
        public void test_wrapQuery_withSpecialCharacters() {
            assertEquals("*******@****.****", service.callWrapQuery("******@****.***"));
        }
    
        @Test
        public void test_wrapQuery_multipleInternalWildcards() {
            assertEquals("*test*query*search*", service.callWrapQuery("test*query*search"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/cookie-params.md

    `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`.
    
    Pero recuerda que cuando importas `Query`, `Path`, `Cookie` y otros desde `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    ///
    
    /// info | Información
    
    Para declarar cookies, necesitas usar `Cookie`, porque de lo contrario los parámetros serían interpretados como parámetros de query.
    
    ///
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/cookie-params.md

    `Cookie` is a "sister" class of `Path` and `Query`. It also inherits from the same common `Param` class.
    
    But remember that when you import `Query`, `Path`, `Cookie` and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// info
    
    To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters.
    
    ///
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 17:49:27 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

                cb.query().setContent_Wildcard(wrapQuery(relatedContentPager.content));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Term_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
        /**
         * Retrieves a list of all available related content entities.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsRoleTypeCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsRoleTypeCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsRoleTypeCQ doGetConditionQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. docs_src/path_params_numeric_validations/tutorial001_an_py310.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")],
        q: Annotated[str | None, Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 375 bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            final List<QueryBuilder> queryBuilderList = cb.query().getQueryBuilderList();
            assertEquals(2, queryBuilderList.size());
            assertEquals("TermQueryBuilder", queryBuilderList.get(0).getClass().getSimpleName());
            assertEquals("BoolQueryBuilder", queryBuilderList.get(1).getClass().getSimpleName());
            final List<FieldSortBuilder> fieldSortBuilderList = cb.query().getFieldSortBuilderList();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

            });
    
        }
    
        /**
         * Sets up the search conditions for retrieving file authentication configurations.
         * This method configures the query conditions and ordering for the database query.
         *
         * @param cb the condition bean for building the query
         * @param fileAuthenticationPager the pager containing search criteria
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top