- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for or (0.12 sec)
-
docs/zh/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: Tue Oct 17 05:59:11 GMT 2023 - 6.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
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) * `le`: menor que ou igual (`l`ess than or `e`qual) !!! info "Informação" `Query`, `Path` e outras classes que você verá a frente são subclasses de uma classe comum `Param`.
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
So, you should declare it with `...` to mark it as required. Nevertheless, even if you declared it with `None` or set a default value, it would not affect anything, it would still be always required. ## Order the parameters as you need !!! tip This is probably not as important or necessary if you use `Annotated`. Let's say that you want to declare the query parameter `q` as a required `str`.
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)