Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,633 for queryCS (0.12 sec)

  1. tests/test_openapi_examples.py

                                "examples": {
                                    "Query One": {
                                        "summary": "Query One Summary",
                                        "description": "Query One Description",
                                        "value": "query1",
                                    },
                                    "Query Two": {"value": "query2"},
                                },
                            }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    La partie appelée requête (ou **query**) dans une URL est l'ensemble des paires clés-valeurs placées après le `?` , séparées par des `&`.
    
    Par exemple, dans l'URL :
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Sep 27 20:52:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Importer `Query`
    
    Pour cela, importez d'abord `Query` depuis `fastapi` :
    
    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## 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` :
    
    ```Python hl_lines="9"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:53:21 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Union[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`
    
    Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        }
    
        @Test
        public void searchTestWithBoost() throws Exception {
            String field = "content";
            String query1 = "java";
            String query2 = "sample";
            Map<String, String> params = new HashMap<>();
            params.put("q", field + ":" + query1 + "^1000 OR " + field + ":" + query2);
            params.put("num", "100");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/duplicate-query-match.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: duplicate-query-match
    spec:
      rules:
      - matches:
        - queryParams:
          - name: foo
            value: bar
          - name: foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 223 bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/query-params-str-validations.md

    ## 추가 검증
    
    `q`가 선택적이지만 값이 주어질 때마다 **값이 50 글자를 초과하지 않게** 강제하려 합니다.
    
    ### `Query` 임포트
    
    이를 위해 먼저 `fastapi`에서 `Query`를 임포트합니다:
    
    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## 기본값으로 `Query` 사용
    
    이제 `Query`를 매개변수의 기본값으로 사용하여 `max_length` 매개변수를 50으로 설정합니다:
    
    ```Python hl_lines="9"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 11 13:48:31 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. 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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

    q: Union[str, None] = None
    ```
    
    Но у нас query-параметр определён как `Query`. Например:
    
    === "Annotated"
    
        ```Python
        q: Annotated[Union[str, None], Query(min_length=3)] = None
        ```
    
    === "без Annotated"
    
        ```Python
        q: Union[str, None] = Query(default=None, min_length=3)
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 38K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

    ## Query-Parameter-Liste / Mehrere Werte
    
    Wenn Sie einen Query-Parameter explizit mit `Query` auszeichnen, können Sie ihn auch eine Liste von Werten empfangen lassen, oder anders gesagt, mehrere Werte.
    
    Um zum Beispiel einen Query-Parameter `q` zu deklarieren, der mehrere Male in der URL vorkommen kann, schreiben Sie:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top