Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1651 - 1660 of 2,630 for path2 (0.02 seconds)

  1. docs/zh-hant/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    或任何其他大小寫變化(全大寫、首字母大寫等),你的函式會將參數 `short` 視為 `bool` 值 `True`。否則為 `False`。
    
    ## 多個路徑與查詢參數 { #multiple-path-and-query-parameters }
    
    你可以同時宣告多個路徑參數與查詢參數,FastAPI 會自動分辨。
    
    而且不必按特定順序宣告。
    
    會依名稱辨識:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## 必填查詢參數 { #required-query-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @throws IOException if an I/O error occurs
         */
        boolean ensureConnected() throws IOException;
    
        /**
         * Gets DFS referrals for the specified path.
         *
         * @param ctx the CIFS context
         * @param name the DFS path to resolve
         * @param targetHost the target host name
         * @param targetDomain the target domain
         * @param rn the referral number
         * @return dfs referral
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/RequestParamTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link RequestParam} covering enum mechanics and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    public class RequestParamTest {
    
        // Happy path: values() returns all constants in declaration order
        @Test
        @DisplayName("values() returns all declared constants in order")
        void valuesContainsAllInOrder() {
            RequestParam[] values = RequestParam.values();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/templates.md

    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## 使用 `Jinja2Templates` { #using-jinja2templates }
    
    - 匯入 `Jinja2Templates`。
    - 建立一個可重複使用的 `templates` 物件。
    - 在會回傳模板的「*路徑操作(path operation)*」中宣告一個 `Request` 參數。
    - 使用你建立的 `templates` 來渲染並回傳 `TemplateResponse`,傳入模板名稱、`request` 物件,以及在 Jinja2 模板中使用的「context」鍵值對字典。
    
    {* ../../docs_src/templates/tutorial001_py310.py hl[4,11,15:18] *}
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.util;
    
    import java.io.File;
    import java.nio.file.Path;
    
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.eclipse.jetty.server.Handler;
    import org.eclipse.jetty.server.Server;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java

                    } else {
                        // ceremony to set up ssl
                        c.setting("xpack.security.transport.ssl.keystore.path", "test-node.jks");
                        c.setting("xpack.security.http.ssl.keystore.path", "test-node.jks");
                        c.keystore("xpack.security.transport.ssl.keystore.secure_password", "keypass");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/response-directly.md

    # Return a Response Directly { #return-a-response-directly }
    
    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    If you declare a [Response Model](../tutorial/response-model.md) FastAPI will use it to serialize the data to JSON, using Pydantic.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. tests/test_enforce_once_required_parameter.py

                            "type": "object",
                        },
                    }
                },
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "openapi": "3.1.0",
                "paths": {
                    "/foo": {
                        "get": {
                            "operationId": "foo_handler_foo_get",
                            "parameters": [
                                {
    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)
  9. tests/test_openapi_query_parameter_extension.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/": {
                        "get": {
                            "summary": "Route With Extra Query Parameters",
                            "operationId": "route_with_extra_query_parameters__get",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. tests/test_security_http_basic_realm_description.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/users/me": {
                        "get": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top