Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 995 for query3 (0.04 sec)

  1. docs/en/docs/tutorial/query-params.md

    # Query Parameters { #query-parameters }
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models { #query-parameter-models }
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("test (query1 OR query2)",
                    getQuery("", new String[] { "test", "query1 OR query2" }, Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("(test || extra)",
                    getQuery("", new String[] { "test || extra" }, Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("query1 query2",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...필수 매개변수 `needy`를 넣지 않았기 때문에 아래와 같은 오류를 보게 됩니다:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy`는 필수 매개변수이므로 URL에 반드시 설정해줘야 합니다:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/foo-item
    ```
    
    ... sem adicionar o parâmetro obrigatório `needy`, você verá um erro como:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            facetQueryView.addQuery("key1", "query1");
            assertEquals(1, facetQueryView.getQueryMap().size());
            assertEquals("query1", facetQueryView.getQueryMap().get("key1"));
    
            facetQueryView.addQuery("key2", "query2");
            assertEquals(2, facetQueryView.getQueryMap().size());
            assertEquals("query2", facetQueryView.getQueryMap().get("key2"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/query-params-str-validations.md

    Але тепер, додавши `Query(max_length=50)` всередину `Annotated`, ми повідомляємо FastAPI, що хочемо **додаткову валідацію** для цього значення — воно має містити максимум 50 символів. 😎
    
    /// tip | Підказка
    
    Ми використовуємо `Query()`, оскільки це **query параметр**. Далі ми розглянемо інші варіанти, як-от `Path()`, `Body()`, `Header()` та `Cookie()`, які приймають ті самі аргументи, що й `Query()`.
    
    ///
    
    Тепер FastAPI:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:17:24 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    q: str | None = Query(default=None, max_length=50)
    ```
    
    This will validate the data, show a clear error when the data is not valid, and document the parameter in the OpenAPI schema *path operation*.
    
    ### `Query` as the default value or in `Annotated` { #query-as-the-default-value-or-in-annotated }
    
    Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-param-models.md

    # Модели Query-Параметров
    
    Если у вас есть группа связанных **query-параметров**, то вы можете объединить их в одну **Pydantic-модель**.
    
    Это позволит вам **переиспользовать модель** в **разных местах**, устанавливать валидаторы и метаданные, в том числе для сразу всех параметров, в одном месте. 😎
    
    /// note | Заметка
    
    Этот функционал доступен с версии `0.115.0`. 🤓
    
    ///
    
    ## Pydantic-Модель для Query-Параметров
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 13:00:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Importer `Query`
    
    Pour cela, importez d'abord `Query` depuis `fastapi` :
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *}
    
    ## Utiliser `Query` comme valeur par défaut
    
    Construisez ensuite la valeur par défaut de votre paramètre avec `Query`, en choisissant 50 comme `max_length` :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top