- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for equals (0.48 sec)
-
docs/pt/docs/tutorial/path-params-numeric-validations.md
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) -
docs/en/docs/tutorial/path-params-numeric-validations.md
{!> ../../../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+" ```Python hl_lines="10"
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) -
docs/ja/docs/tutorial/path-params-numeric-validations.md
また、数値のバリデーションを宣言することもできます: * `gt`: より大きい(`g`reater `t`han) * `ge`: 以上(`g`reater than or `e`qual) * `lt`: より小さい(`l`ess `t`han) * `le`: 以下(`l`ess than or `e`qual) !!! info "情報" `Query`、`Path`などは後に共通の`Param`クラスのサブクラスを見ることになります。(使う必要はありません) そして、それらすべては、これまで見てきた追加のバリデーションとメタデータと同じパラメータを共有しています。 !!! note "技術詳細"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 15 15:46:32 GMT 2024 - 6.1K bytes - Viewed (0)