Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,024 for queryFn (0.04 seconds)

  1. tests/test_openapi_query_parameter_extension.py

                    "schema": {"title": "Extra Param 1"},
                    "name": "extra_param_1",
                    "in": "query",
                },
                {
                    "required": True,
                    "schema": {"title": "Extra Param 2"},
                    "name": "extra_param_2",
                    "in": "query",
                },
            ]
        },
    )
    def route_with_extra_query_parameters(standard_query_param: int | None = 50):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/header-params.md

    ## Importe `Header` { #import-header }
    
    Primeiro importe `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declare parâmetros de `Header` { #declare-header-parameters }
    
    Então declare os paramêtros de cabeçalho usando a mesma estrutura que em `Path`, `Query` e `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/FacetInfo.java

            return BucketOrder.count(false);
        }
    
        /**
         * Adds a query facet to the existing query array.
         * If no queries exist, creates a new array with the provided query.
         *
         * @param s the query string to add as a facet
         */
        public void addQuery(final String s) {
            if (query == null) {
                query = new String[] { s };
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. tests/test_invalid_sequence_param.py

    import pytest
    from fastapi import FastAPI, Query
    from pydantic import BaseModel
    
    
    def test_invalid_sequence():
        with pytest.raises(
            AssertionError,
            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                    cb.query().setDescription_Wildcard(fileConfigPager.description);
                } else if (fileConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. tests/test_request_params/test_query/test_optional_str.py

    @app.get("/optional-alias")
    async def read_optional_alias(
        p: Annotated[str | None, Query(alias="p_alias")] = None,
    ):
        return {"p": p}
    
    
    class QueryModelOptionalAlias(BaseModel):
        p: str | None = Field(None, alias="p_alias")
    
    
    @app.get("/model-optional-alias")
    async def read_model_optional_alias(p: Annotated[QueryModelOptionalAlias, Query()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py310.py hl[13] *}
    
    ## Recap { #recap }
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md).
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. src/main/resources/fess_indices/fess_log.favorite_log/favorite_log.json

    {
        "properties": {
          "userInfoId": {
            "type": "keyword"
          },
          "url": {
            "type": "keyword"
          },
          "docId": {
            "type": "keyword"
          },
          "queryId": {
            "type": "keyword"
          },
          "createdAt": {
            "type": "date",
            "format": "date_optional_time"
          }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Feb 24 22:07:26 GMT 2019
    - 335 bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            // Test with non-phrase query - should throw InvalidQueryException
            Query termQuery = new TermQuery(new Term("field", "value"));
            QueryContext context = new QueryContext("test", false);
    
            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/header-params.md

    但請記得,當你從 `fastapi` 匯入 `Query`、`Path`、`Header` 等時,它們其實是會回傳特殊類別的函式。
    
    ///
    
    /// info | 說明
    
    要宣告標頭,必須使用 `Header`,否則參數會被解讀為查詢參數。
    
    ///
    
    ## 自動轉換 { #automatic-conversion }
    
    在 `Path`、`Query`、`Cookie` 提供的功能之上,`Header` 還有一些額外的小功能。
    
    大多數標準標頭的單字以連字號(減號,`-`)分隔。
    
    但像 `user-agent` 這樣的變數名稱在 Python 中是無效的。
    
    因此,`Header` 會在預設情況下把參數名稱中的底線(`_`)轉換為連字號(`-`),以便讀取並在文件中顯示該標頭。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top