- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 506 for validations (0.08 sec)
-
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) -
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) -
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) -
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) -
docs/em/docs/tutorial/path-params-numeric-validations.md
```Python hl_lines="11" {!../../docs_src/path_params_numeric_validations/tutorial006.py!} ``` ## 🌃 ⏮️ `Query`, `Path` (& 🎏 👆 🚫 👀) 👆 💪 📣 🗃 & 🎻 🔬 🎏 🌌 ⏮️ [🔢 🔢 & 🎻 🔬](query-params-str-validations.md){.internal-link target=_blank}. & 👆 💪 📣 🔢 🔬: * `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) -
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) -
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) -
docs/ko/docs/tutorial/query-params-str-validations.md
} ``` /// tip | "팁" 위의 예와 같이 `list` 자료형으로 쿼리 매개변수를 선언하려면 `Query`를 명시적으로 사용해야 합니다. 그렇지 않으면 요청 본문으로 해석됩니다. /// 대화형 API 문서는 여러 값을 허용하도록 수정 됩니다: <img src="/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.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params-numeric-validations.md
```Python hl_lines="11" {!../../docs_src/path_params_numeric_validations/tutorial006.py!} ``` ## 요약 `Query`, `Path`(아직 보지 못한 다른 것들도)를 사용하면 [쿼리 매개변수와 문자열 검증](query-params-str-validations.md){.internal-link target=_blank}에서와 마찬가지로 메타데이터와 문자열 검증을 선언할 수 있습니다. 그리고 숫자 검증 또한 선언할 수 있습니다: * `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: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params-numeric-validations.md
对于 <abbr title="less than"><code>lt</code></abbr> 也是一样的。 ```Python hl_lines="11" {!../../docs_src/path_params_numeric_validations/tutorial006.py!} ``` ## 总结 你能够以与 [查询参数和字符串校验](query-params-str-validations.md){.internal-link target=_blank} 相同的方式使用 `Query`、`Path`(以及其他你还没见过的类)声明元数据和字符串校验。 而且你还可以声明数值校验: * `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: Sun Oct 06 20:36:54 UTC 2024 - 6.2K bytes - Viewed (0)