Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 1,024 for queryFn (0.06 seconds)

  1. 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)
  2. tests/test_enforce_once_required_parameter.py

    from fastapi import Depends, FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    def _get_client_key(client_id: str = Query(...)) -> str:
        return f"{client_id}_key"
    
    
    def _get_client_tag(client_id: str | None = Query(None)) -> str | None:
        if client_id is None:
            return None
        return f"{client_id}_tag"
    
    
    @app.get("/foo")
    def foo_handler(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. docs_src/query_params_str_validations/tutorial008_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(
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
            ),
        ] = None,
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 498 bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            if (crawlingInfoPager.id != null) {
                cb.query().docMeta().setId_Equal(crawlingInfoPager.id);
            }
            // TODO Long, Integer, String supported only.
            if (StringUtil.isNotBlank(crawlingInfoPager.sessionId)) {
                cb.query().setSessionId_Match(crawlingInfoPager.sessionId);
            }
            cb.query().addOrderBy_CreatedTime_Desc();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/IndexExportJob.java

         */
        public IndexExportJob() {
            // default constructor
        }
    
        /**
         * Sets the query to filter which documents to export.
         *
         * @param queryBuilder the query to use for filtering documents
         * @return this instance for method chaining
         */
        public IndexExportJob query(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
            return this;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

                cb.query().setUrl_Wildcard(failureUrlPager.url);
            }
    
            if (StringUtil.isNotBlank(failureUrlPager.errorCountMax)) {
                cb.query().setErrorCount_LessEqual(Integer.parseInt(failureUrlPager.errorCountMax));
            }
            if (StringUtil.isNotBlank(failureUrlPager.errorCountMin)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/header-params.md

    `Header` 是 `Path`、`Query`、`Cookie` 的**兄弟类**,都继承自共用的 `Param` 类。
    
    注意,从 `fastapi` 导入的 `Query`、`Path`、`Header` 等对象,实际上是返回特殊类的函数。
    
    ///
    
    /// info | 信息
    
    必须使用 `Header` 声明 header 参数,否则该参数会被解释为查询参数。
    
    ///
    
    ## 自动转换 { #automatic-conversion }
    
    `Header` 比 `Path`、`Query` 和 `Cookie` 提供了更多功能。
    
    大部分标准请求头用**连字符**分隔,即**减号**(`-`)。
    
    但是 `user-agent` 这样的变量在 Python 中是无效的。
    
    因此,默认情况下,`Header` 把参数名中的字符由下划线(`_`)改为连字符(`-`)来提取并存档请求头 。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

     */
    public class SuggestItem {
    
        /**
         * The kind of suggest item.
         */
        public enum Kind {
            /** Document kind. */
            DOCUMENT("document"),
            /** Query kind. */
            QUERY("query"),
            /** User kind. */
            USER("user");
    
            private final String kind;
    
            /**
             * Constructor for Kind.
             * @param kind The kind string.
             */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

      /**
       * Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request
       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
        return if (query != null) "$path?$query" else path
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jun 17 00:47:36 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        /**
         * Sets this request's method to `QUERY`.
         *
         * By default, `QUERY` requests are not cached. You can use [cacheUrlOverride] to specify
         * how to cache them.
         *
         * A typical use case is to hash the request body:
         *
         * ```kotlin
         *     val hash = body.sha256().hex()
         *     val query = Request
         *         .Builder()
         *         .query(body)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
Back to Top