Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 708 for validations (0.08 sec)

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

    ## Pour résumer
    
    Avec `Query`, `Path` (et d'autres que vous verrez plus tard) vous pouvez déclarer des métadonnées et des validations de chaînes de la même manière qu'avec les [Paramètres de requête et validations de chaînes](query-params-str-validations.md){.internal-link target=_blank}.
    
    Et vous pouvez également déclarer des validations numériques :
    
    * `gt` : `g`reater `t`han
    * `ge` : `g`reater than or `e`qual
    * `lt` : `l`ess `t`han
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ////
    
    ## Recap
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    ////
    
    ## Recap
    
    You can declare additional validations and metadata for your parameters.
    
    Generic validations and metadata:
    
    * `alias`
    * `title`
    * `description`
    * `deprecated`
    
    Validations specific for strings:
    
    * `min_length`
    * `max_length`
    * `pattern`
    
    In these examples you saw how to declare validations for `str` values.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/query-params-str-validations.md

      ]
    }
    ```
    
    /// tip
    
    要声明类型为 `list` 的查询参数,如上例所示,你需要显式地使用 `Query`,否则该参数将被解释为请求体。
    
    ///
    
    交互式 API 文档将会相应地进行更新,以允许使用多个值:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/query-params-str-validations/image02.png">
    
    ### 具有默认值的查询参数列表 / 多个值
    
    你还可以定义在没有任何给定值时的默认 `list` 值:
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params_str_validations/tutorial012.py!}
    ```
    
    如果你访问:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## Recapitulando
    
    Com `Query`, `Path` (e outras que você ainda não viu) você pode declarar metadados e validações de texto do mesmo modo que com [Parâmetros de consulta e validações de texto](query-params-str-validations.md){.internal-link target=_blank}.
    
    E você também pode declarar validações numéricas:
    
    * `gt`: maior que (`g`reater `t`han)
    * `ge`: maior que ou igual (`g`reater than or `e`qual)
    * `lt`: menor que (`l`ess `t`han)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/path-params-numeric-validations.md

    ////
    
    ## Zusammenfassung
    
    Mit `Query` und `Path` (und anderen, die Sie noch nicht gesehen haben) können Sie Metadaten und Stringvalidierungen deklarieren, so wie in [Query-Parameter und Stringvalidierungen](query-params-str-validations.md){.internal-link target=_blank} beschrieben.
    
    Und Sie können auch Validierungen für Zahlen deklarieren:
    
    * `gt`: `g`reater `t`han – größer als
    * `ge`: `g`reater than or `e`qual – größer oder gleich
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="11"
    {!../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ## 🌃
    
    ⏮️ `Query`, `Path` (&amp; 🎏 👆 🚫 👀) 👆 💪 📣 🗃 &amp; 🎻 🔬 🎏 🌌 ⏮️ [🔢 🔢 &amp; 🎻 🔬](query-params-str-validations.md){.internal-link target=_blank}.
    
    &amp; 👆 💪 📣 🔢 🔬:
    
    * `gt`: `g`🅾 `t`👲
    * `ge`: `g`🅾 🌘 ⚖️ `e`🅾
    * `lt`: `l`👭 `t`👲
    * `le`: `l`👭 🌘 ⚖️ `e`🅾
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Rajouter plus de validation
    
    Vous pouvez aussi rajouter un second paramètre `min_length` :
    
    {* ../../docs_src/query_params_str_validations/tutorial003.py hl[9] *}
    
    ## Ajouter des validations par expressions régulières
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/query-params-str-validations.md

    ///
    
    A documentação interativa da API irá atualizar de acordo, permitindo múltiplos valores:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### Lista de parâmetros de consulta / múltiplos valores por padrão
    
    E você também pode definir uma lista (`list`) de valores padrão caso nenhum seja informado:
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/query-params-str-validations.md

        "bar"
      ]
    }
    ```
    
    /// tip
    
    📣 🔢 🔢 ⏮️ 🆎 `list`, 💖 🖼 🔛, 👆 💪 🎯 ⚙️ `Query`, ⏪ ⚫️ 🔜 🔬 📨 💪.
    
    ///
    
    🎓 🛠️ 🩺 🔜 ℹ ➡️, ✔ 💗 💲:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### 🔢 🔢 📇 / 💗 💲 ⏮️ 🔢
    
    &amp; 👆 💪 🔬 🔢 `list` 💲 🚥 👌 🚚:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top