Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,123 for query2 (0.46 sec)

  1. docs_src/query_params_str_validations/tutorial003_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(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 330 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsKeyMatchCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsKeyMatchCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsKeyMatchCQ doGetConditionQuery() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial004_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(min_length=3, max_length=50, pattern="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 368 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial007.py

                                        {"type": "null"},
                                    ],
                                    "title": "Query string",
                                },
                                "name": "q",
                                "in": "query",
                            }
                        ],
                    }
                }
            },
            "components": {
                "schemas": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  6. docs/ko/docs/tutorial/body-multiple-params.md

    # 본문 - 다중 매개변수
    
    지금부터 `Path`와 `Query`를 어떻게 사용하는지 확인하겠습니다.
    
    요청 본문 선언에 대한 심화 사용법을 알아보겠습니다.
    
    ## `Path`, `Query` 및 본문 매개변수 혼합
    
    당연하게 `Path`, `Query` 및 요청 본문 매개변수 선언을 자유롭게 혼합해서 사용할 수 있고, **FastAPI**는 어떤 동작을 할지 압니다.
    
    또한, 기본 값을 `None`으로 설정해 본문 매개변수를 선택사항으로 선언할 수 있습니다.
    
    {* ../../docs_src/body_multiple_params/tutorial001.py hl[19:21] *}
    
    /// note | 참고
    
    이 경우에는 본문으로 부터 가져온 `	item`은 기본값이 `None`이기 때문에, 선택사항이라는 점을 유의해야 합니다.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial008_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[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,
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 511 bytes
    - Viewed (0)
  8. tests/serializer_test.go

    		t.Fatalf("failed to query data, got error %v", err)
    	}
    
    	AssertEqual(t, result, data)
    
    	if err := DB.Model(&result).Update("roles", "").Error; err != nil {
    		t.Fatalf("failed to update data's roles, got error %v", err)
    	}
    
    	if err := DB.First(&result, data.ID).Error; err != nil {
    		t.Fatalf("failed to query data, got error %v", err)
    	}
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/reference/parameters.md

    It includes:
    
    * `Query()`
    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    You can import them all directly from `fastapi`:
    
    ```python
    from fastapi import Body, Cookie, File, Form, Header, Path, Query
    ```
    
    ::: fastapi.Query
    
    ::: fastapi.Path
    
    ::: fastapi.Body
    
    ::: fastapi.Cookie
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 603 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

            if (accessTokenPager.id != null) {
                cb.query().docMeta().setId_Equal(accessTokenPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Name_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
        /**
         * Get the permissions.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top