Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for equalTo (0.16 sec)

  1. docs/ko/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="9"
    {!../../../docs_src/path_params_numeric_validations/tutorial005.py!}
    ```
    
    ## 숫자 검증: 부동소수, 크거나 및 작거나
    
    숫자 검증은 `float` 값에도 동작합니다.
    
    여기에서 <abbr title="greater than or equal"><code>ge</code></abbr>뿐만 아니라 <abbr title="greater than"><code>gt</code></abbr>를 선언 할 수있는 것이 중요해집니다. 예를 들어 필요한 경우, 값이 `1`보다 작더라도 반드시 `0`보다 커야합니다.
    
    즉, `0.5`는 유효한 값입니다. 그러나 `0.0` 또는 `0`은 그렇지 않습니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## 🔢 🔬: 🎈, 🌘 🌘 &amp; 🌘 🌘
    
    🔢 🔬 👷 `float` 💲.
    
    📥 🌐❔ ⚫️ ▶️️ ⚠ 💪 📣 <abbr title="greater than"><code>gt</code></abbr> &amp; 🚫 <abbr title="greater than or equal"><code>ge</code></abbr>. ⏮️ ⚫️ 👆 💪 🚚, 🖼, 👈 💲 🔜 👑 🌘 `0`, 🚥 ⚫️ 🌘 🌘 `1`.
    
    , `0.5` 🔜 ☑ 💲. ✋️ `0.0` ⚖️ `0` 🔜 🚫.
    
    &amp; 🎏 <abbr title="less than"><code>lt</code></abbr>.
    
    ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/path-params-numeric-validations.md

    Hier wird es wichtig, in der Lage zu sein, <abbr title="greater than – größer als"><code>gt</code></abbr> zu deklarieren, und nicht nur <abbr title="greater than or equal – größer oder gleich"><code>ge</code></abbr>, da Sie hiermit bestimmen können, dass ein Wert, zum Beispiel, größer als `0` sein muss, obwohl er kleiner als `1` ist.
    
    `0.5` wäre also ein gültiger Wert, aber nicht `0.0` oder `0`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Validações numéricas também funcionam para valores do tipo `float`.
    
    Aqui é onde se torna importante a possibilidade de declarar <abbr title="greater than"><code>gt</code></abbr> e não apenas <abbr title="greater than or equal"><code>ge</code></abbr>. Com isso você pode especificar, por exemplo, que um valor deve ser maior que `0`, ainda que seja menor que `1`.
    
    Assim, `0.5` seria um valor válido. Mas `0.0` ou `0` não seria.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/path-params-numeric-validations.md

    Валидация также применима к значениям типа `float`.
    
    В этом случае становится важной возможность добавить ограничение <abbr title="greater than"><code>gt</code></abbr>, вместо <abbr title="greater than or equal"><code>ge</code></abbr>, поскольку в таком случае вы можете, например, создать ограничение, чтобы значение было больше `0`, даже если оно меньше `1`.
    
    Таким образом, `0.5` будет корректным значением. А `0.0` или `0` — нет.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial003_an.py!}
        ```
    
    ## Number validations: greater than or equal
    
    With `Query` and `Path` (and others you'll see later) you can declare number constraints.
    
    Here, with `ge=1`, `item_id` will need to be an integer number "`g`reater than or `e`qual" to `1`.
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top