Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,053 for jQuery (0.16 sec)

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger();
            final StringBuilder queryBuf = new StringBuilder(255);
    
            final String query = buildBaseQuery();
            if (StringUtil.isNotBlank(query)) {
                queryBuf.append(escapeQuery(query));
            }
    
            stream(params.getExtraQueries())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tests/test_invalid_sequence_param.py

    from typing import Dict, List, Optional, Tuple
    
    import pytest
    from fastapi import FastAPI, Query
    from pydantic import BaseModel
    
    
    def test_invalid_sequence():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: List[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

    import org.codelibs.fess.query.BooleanQueryCommand;
    import org.codelibs.fess.query.BoostQueryCommand;
    import org.codelibs.fess.query.FuzzyQueryCommand;
    import org.codelibs.fess.query.MatchAllQueryCommand;
    import org.codelibs.fess.query.PhraseQueryCommand;
    import org.codelibs.fess.query.PrefixQueryCommand;
    import org.codelibs.fess.query.QueryFieldConfig;
    import org.codelibs.fess.query.QueryProcessor;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py

                assert data == "Session cookie or query token value is: fakesession"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: foo"
                message = "Message two"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

            return BoostQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BoostQuery boostQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

            if (StringUtil.isNotBlank(pager.queryId)) {
                cb.query().setQueryId_Term(pager.queryId);
            }
            if (StringUtil.isNotBlank(pager.userSessionId)) {
                cb.query().setUserSessionId_Term(pager.userSessionId);
            }
            if (StringUtil.isNotBlank(pager.accessType)) {
                cb.query().setAccessType_Term(pager.accessType);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. tests/test_repeated_parameter_alias.py

    from fastapi import FastAPI, Path, Query, status
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/{repeated_alias}")
    def get_parameters_with_repeated_aliases(
        path: str = Path(..., alias="repeated_alias"),
        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. tests/test_starlette_urlconvertors.py

        assert response.json() == {"path": "some/example"}
    
    
    def test_route_converters_query():
        # Test query conversion
        response = client.get("/query", params={"param": "Qué tal!"})
        assert response.status_code == 200, response.text
        assert response.json() == {"query": "Qué tal!"}
    
    
    def test_url_path_for_path_convertor():
        assert (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_bigger_applications/test_main_an.py

                        "type": "missing",
                        "loc": ["query", "token"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["query", "token"],
                        "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/body-fields.md

    ///
    
    ```Python hl_lines="11-14"
    {!> ../../docs_src/body_fields/tutorial001.py!}
    ```
    
    ////
    
    `Field` працює так само, як `Query`, `Path` і `Body`, у нього такі самі параметри тощо.
    
    /// note | "Технічні деталі"
    
    Насправді, `Query`, `Path` та інші, що ви побачите далі, створюють об'єкти підкласів загального класу `Param`, котрий сам є підкласом класу `FieldInfo` з Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top