Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,169 for Query (0.03 seconds)

  1. tests/test_json_type.py

    from fastapi import Cookie, FastAPI, Form, Header, Query
    from fastapi.testclient import TestClient
    from pydantic import Json
    
    app = FastAPI()
    
    
    @app.post("/form-json-list")
    def form_json_list(items: Annotated[Json[list[str]], Form()]) -> list[str]:
        return items
    
    
    @app.get("/query-json-list")
    def query_json_list(items: Annotated[Json[list[str]], Query()]) -> list[str]:
        return items
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:41:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            }
            return null;
        }
    
        /**
         * Stores the document IDs associated with a search query for tracking purposes.
         * This method caches the document IDs returned for a specific query to enable click tracking and analytics.
         *
         * @param queryId the unique identifier for the search query
         * @param documentItems the list of document maps containing search results
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            assertNotNull(Constants.FACET_FIELD_PREFIX);
            assertNotNull(Constants.FACET_QUERY_PREFIX);
            assertEquals("field:", Constants.FACET_FIELD_PREFIX);
            assertEquals("query:", Constants.FACET_QUERY_PREFIX);
        }
    
        @Test
        public void test_unicode_base64_encoding() {
            // Test that unicode strings are properly encoded/decoded
            String unicodeString = "日本語テスト";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        private String fileName;
    
        /**
         * Constructs an SMB2 query directory request with the given configuration.
         *
         * @param config the configuration for this request
         */
        public Smb2QueryDirectoryRequest(final Configuration config) {
            this(config, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs a SMB2 query directory request with the specified configuration and file ID
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

            // Default constructor
        }
    
        /** The parameter for negative query. */
        public static final String AS_NQ = "nq";
    
        /** The parameter for OR query. */
        public static final String AS_OQ = "oq";
    
        /** The parameter for exact phrase query. */
        public static final String AS_EPQ = "epq";
    
        /** The parameter for query. */
        public static final String AS_Q = "q";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        }
    
        /**
         * Gets the total number of documents that match the specified query.
         *
         * @param searchEngineClient the search engine client to use for the count
         * @param queryBuilder the query to count documents for
         * @param fessConfig the Fess configuration
         * @return the number of documents that match the query
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K 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/app/web/admin/relatedquery/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * The edit form for Related Query.
     * This form extends CreateForm and adds fields necessary for editing existing related query entries.
     */
    public class EditForm extends CreateForm {
    
        /** Unique identifier for the related query entry */
        @Required
        @Size(max = 1000)
        public String id;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. scripts/sponsors.py

        *,
        settings: Settings,
        query: str,
        after: str | None = None,
    ) -> dict[str, Any]:
        headers = {"Authorization": f"token {settings.sponsors_token.get_secret_value()}"}
        variables = {"after": after}
        response = httpx.post(
            github_graphql_url,
            headers=headers,
            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
        )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial003_py310.py hl[15:16] *}
    
    
    ## Request body + path + query parameters { #request-body-path-query-parameters }
    
    You can also declare **body**, **path** and **query** parameters, all at the same time.
    
    **FastAPI** will recognize each of them and take the data from the correct place.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top