Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,102 for query (0.08 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

        response = client.get("/items/", params={"item-query": "nonregexquery"})
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "string_pattern_mismatch",
                    "loc": ["query", "item-query"],
                    "msg": "String should match pattern '^fixedquery$'",
                    "input": "nonregexquery",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        /**
         * Displays the related query management index page.
         *
         * @return HTML response for the related query list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Displays a paginated list of related query items.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. tests/main.py

        return item_id
    
    
    @app.get("/query")
    def get_query(query):
        return f"foo bar {query}"
    
    
    @app.get("/query/optional")
    def get_query_optional(query=None):
        if query is None:
            return "foo bar"
        return f"foo bar {query}"
    
    
    @app.get("/query/int")
    def get_query_type(query: int):
        return f"foo bar {query}"
    
    
    @app.get("/query/int/optional")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial010_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None,
            Query(
                alias="item-query",
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 622 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsKeyMatch.java

            this.maxSize = value;
        }
    
        public String getQuery() {
            checkSpecifiedProperty("query");
            return convertEmptyToNull(query);
        }
    
        public void setQuery(String value) {
            registerModifiedProperty("query");
            this.query = value;
        }
    
        public String getTerm() {
            checkSpecifiedProperty("term");
            return convertEmptyToNull(term);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial010_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
        ),
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 542 bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            // Query only
            String[][] readings2 = new String[1][];
            readings2[0] = new String[] { "query1" };
            items[1] = new SuggestItem(new String[] { "クエリ1" }, readings2, new String[] { "content" }, 0, 1, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  8. docs/sts/client_grants/__init__.py

                creds = json.loads(response.data)
    
                query = {}
                query['Action'] = 'AssumeRoleWithClientGrants'
                query['Token'] = creds['access_token']
                query['DurationSeconds'] = creds['expires_in']
                query['Version'] = '2011-06-15'
    
                query_components = []
                for key in query:
                    if query[key] is not None:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                if (query.length() == 1) {
                    return UnicodeBlock.of(query.charAt(0)) != UnicodeBlock.HIRAGANA;
                }
                return true;
            }
            return false;
        }
    
        /**
         * Checks if the query is a hiragana query.
         * @param query The query string.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/body-fields.md

    ///
    
    ## Объявление атрибутов модели { #declare-model-attributes }
    
    Вы можете использовать функцию `Field` с атрибутами модели:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Функция `Field` работает так же, как `Query`, `Path` и `Body`, у неё такие же параметры и т.д.
    
    /// note | Технические детали
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top