Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 1,024 for queryFn (0.05 seconds)

  1. docs/zh-hant/docs/tutorial/body.md

    你可以同時宣告路徑參數與請求本文。
    
    **FastAPI** 會辨識出與路徑參數相符的函式參數應該從**路徑**取得,而宣告為 Pydantic 模型的函式參數應該從**請求本文**取得。
    
    {* ../../docs_src/body/tutorial003_py310.py hl[15:16] *}
    
    ## 請求本文 + 路徑 + 查詢參數 { #request-body-path-query-parameters }
    
    你也可以同時宣告**本文**、**路徑**與**查詢**參數。
    
    **FastAPI** 會分別辨識並從正確的位置取得資料。
    
    {* ../../docs_src/body/tutorial004_py310.py hl[16] *}
    
    函式參數的辨識方式如下:
    
    - 如果參數同時在**路徑**中宣告,則作為路徑參數。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/request-files.md

    ## 定义 `File` 参数 { #define-file-parameters }
    
    像为 `Body` 或 `Form` 一样创建文件参数:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[9] *}
    
    /// info | 信息
    
    `File` 是直接继承自 `Form` 的类。
    
    但要注意,从 `fastapi` 导入的 `Query`、`Path`、`File` 等项,实际上是返回特定类的函数。
    
    ///
    
    /// tip | 提示
    
    声明文件体必须使用 `File`,否则,这些参数会被当作查询参数或请求体(JSON)参数。
    
    ///
    
    文件将作为「表单数据」上传。
    
    如果把*路径操作函数*参数的类型声明为 `bytes`,**FastAPI** 会为你读取文件,并以 `bytes` 的形式接收其内容。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. docs/zh/docs/index.md

    </p>
    <p align="center">
        FastAPI 框架,高性能,易于学习,高效编码,生产可用
    </p>
    <p align="center">
    <a href="https://github.com/fastapi/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster">
        <img src="https://github.com/fastapi/fastapi/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test">
    </a>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

    import org.opensearch.action.support.WriteRequest.RefreshPolicy;
    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    import org.opensearch.search.sort.SortBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

    import org.codelibs.fess.util.MemoryUtil;
    import org.codelibs.fess.util.ThreadDumpUtil;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    import jakarta.annotation.Resource;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Tables.java

        }
      }
    
      /**
       * Returns an unmodifiable view of the specified table. This method allows modules to provide
       * users with "read-only" access to internal tables. Query operations on the returned table "read
       * through" to the specified table, and attempts to modify the returned table, whether direct or
       * via its collection views, result in an {@code UnsupportedOperationException}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            }
    
            return url;
        }
    
        /**
         * Extracts and processes the site path from a URL with proper encoding handling.
         * Removes protocol, query parameters, and applies URL decoding based on encoding settings.
         *
         * @param u the URL string to process
         * @param encoding the character encoding to use for URL decoding
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/CurlTest.java

        public void test_FactoryMethodsWithSpecialCharactersInUrl() {
            // ## Test factory methods with special characters in URL ##
    
            // ## Act ##
            final String specialUrl = "http://example.com/path?query=value&param=123#fragment";
            final CurlRequest getRequest = Curl.get(specialUrl);
            final CurlRequest postRequest = Curl.post(specialUrl);
            final CurlRequest putRequest = Curl.put(specialUrl);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Benefits { #benefits }
    
    When using the automatically generated clients, you would get **autocompletion** for:
    
    * Methods.
    * Request payloads in the body, query parameters, etc.
    * Response payloads.
    
    You would also have **inline errors** for everything.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  10. docs/ja/docs/advanced/websockets.md

    そして、これらの通信はすべて同じWebSocket接続を使用します。
    
    ## `Depends` などの使用 { #using-depends-and-others }
    
    WebSocketエンドポイントでは、`fastapi` から以下をインポートして使用できます。
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    これらは、他のFastAPI エンドポイント/*path operations* の場合と同じように機能します。
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info | 情報
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top