Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for require (0.22 sec)

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

    ...必須のパラメータ `needy` を加えなかったので、以下の様なエラーが表示されます:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy` は必須のパラメータなので、URLにセットする必要があります:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params.md

    ```Python hl_lines="8  10"
    {!../../../docs_src/query_params/tutorial004.py!}
    ```
    
    ## Paramètres de requête requis
    
    Quand vous déclarez une valeur par défaut pour un paramètre qui n'est pas un paramètre de chemin (actuellement, nous n'avons vu que les paramètres de requête), alors ce paramètre n'est pas requis.
    
    Si vous ne voulez pas leur donner de valeur par défaut mais juste les rendre optionnels, utilisez `None` comme valeur par défaut.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params.md

        ```
    
    ## Required query parameters
    
    When you declare a default value for non-path parameters (for now, we have only seen query parameters), then it is not required.
    
    If you don't want to add a specific value but just make it optional, set the default as `None`.
    
    But when you want to make a query parameter required, you can just not declare any default value:
    
    ```Python hl_lines="6-7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. docs/tr/docs/tutorial/query-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null,
          "url": "https://errors.pydantic.dev/2.1/v/missing"
        }
      ]
    }
    ```
    
    `needy` zorunlu bir parametre olduğundan dolayı bağlantıda tanımlanması gerekir:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null,
          "url": "https://errors.pydantic.dev/2.1/v/missing"
        }
      ]
    }
    ```
    
    Da `needy` ein erforderlicher Parameter ist, müssen Sie ihn in der URL setzen:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/query-params.md

    ...🍵 ❎ ✔ 🔢 `needy`, 👆 🔜 👀 ❌ 💖:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy` 🚚 🔢, 👆 🔜 💪 ⚒ ⚫️ 📛:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ...👉 🔜 👷:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/query-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Dado que `needy` es un parámetro requerido necesitarías declararlo en la URL:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Como `needy` é um parâmetro obrigatório, você precisaria defini-lo na URL:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Поскольку `needy` является обязательным параметром, вам необходимо указать его в URL-адресе:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/query-params.md

    매개변수들은 이름으로 감지됩니다:
    
    ```Python hl_lines="8  10"
    {!../../../docs_src/query_params/tutorial004.py!}
    ```
    
    ## 필수 쿼리 매개변수
    
    경로가 아닌 매개변수에 대한 기본값을 선언할 때(지금은 쿼리 매개변수만 보았습니다), 해당 매개변수는 필수적(Required)이지 않았습니다.
    
    특정값을 추가하지 않고 선택적으로 만들기 위해선 기본값을 `None`으로 설정하면 됩니다.
    
    그러나 쿼리 매개변수를 필수로 만들려면 단순히 기본값을 선언하지 않으면 됩니다:
    
    ```Python hl_lines="6-7"
    {!../../../docs_src/query_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top