Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for 50 (0.13 sec)

  1. docs/az/docs/fastapi-people.md

    Onlar bir çox insanlara kömək edərək mütəxəssis olduqlarını sübut ediblər. ✨
    
    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.experts[:50] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/tr/docs/fastapi-people.md

    Bir çok kullanıcıya yardım ederek uzman olduklarını kanıtladılar! ✨
    
    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.experts[:50] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Importer `Query`
    
    Pour cela, importez d'abord `Query` depuis `fastapi` :
    
    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## Utiliser `Query` comme valeur par défaut
    
    Construisez ensuite la valeur par défaut de votre paramètre avec `Query`, en choisissant 50 comme `max_length` :
    
    ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/query-params-str-validations.md

    ## バリデーションの追加
    
    `q`はオプショナルですが、もし値が渡されてきた場合には、**50文字を超えないこと**を強制してみましょう。
    
    ### `Query`のインポート
    
    そのために、まずは`fastapi`から`Query`をインポートします:
    
    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## デフォルト値として`Query`を使用
    
    パラメータのデフォルト値として使用し、パラメータ`max_length`を50に設定します:
    
    ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  5. docs/ru/docs/fastapi-people.md

    Оказывая помощь многим другим, они подтвердили свой уровень знаний. ✨
    
    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.experts[:50] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. docs/en/docs/fastapi-people.md

    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.experts[:50] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/ja/docs/fastapi-people.md

    彼らは、*これまでに* [GitHub issuesで最も多くの人を助けた](help-fastapi.md#github-issues){.internal-link target=_blank}ユーザーです。
    
    多くの人を助けることでexpertsであると示されています。✨
    
    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.experts[:50] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params-str-validations.md

    ### Importe `Query`
    
    Para isso, primeiro importe `Query` de `fastapi`:
    
    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## Use `Query` como o valor padrão
    
    Agora utilize-o como valor padrão do seu parâmetro, definindo o parâmetro `max_length` para 50:
    
    ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

        `Union` в `Union[str, None]` позволит редактору кода оказать вам лучшую поддержку и найти ошибки.
    
    ## Расширенная валидация
    
    Добавим дополнительное условие валидации параметра `q` - **длина строки не более 50 символов** (условие проверяется всякий раз, когда параметр `q` не является `None`).
    
    ### Импорт `Query` и `Annotated`
    
    Чтобы достичь этого, первым делом нам нужно импортировать:
    
    * `Query` из пакета `fastapi`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params-str-validations.md

    查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。
    
    ## 额外的校验
    
    我们打算添加约束条件:即使 `q` 是可选的,但只要提供了该参数,则该参数值**不能超过50个字符的长度**。
    
    ### 导入 `Query`
    
    为此,首先从 `fastapi` 导入 `Query`:
    
    ```Python hl_lines="1"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## 使用 `Query` 作为默认值
    
    现在,将 `Query` 用作查询参数的默认值,并将它的 `max_length` 参数设置为 50:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top