Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,773 for param2 (0.06 sec)

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

    ## まとめ
    
    `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)
    * `le`: 以下(`l`ess than or `e`qual)
    
    /// info | "情報"
    
    `Query`、`Path`などは後に共通の`Param`クラスのサブクラスを見ることになります。(使う必要はありません)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/cookie-param-models.md

    ## Check the Docs
    
    You can see the defined cookies in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info
    
    Have in mind that, as **browsers handle cookies** in special ways and behind the scenes, they **don't** easily allow **JavaScript** to touch them.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-params-str-validations.md

    ```Python
    = None
    ```
    
    Ou com:
    
    ```Python
    = Query(default=None)
    ```
    
    E irá utilizar o `None` para detectar que o parâmetro de consulta não é obrigatório.
    
    O `Union` é apenas para permitir que seu editor de texto lhe dê um melhor suporte.
    
    ///
    
    Então, podemos passar mais parâmetros para `Query`. Neste caso, o parâmetro `max_length` que se aplica a textos:
    
    ```Python
    q: str = Query(default=None, max_length=50)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-multiple-params.md

    ## Valores singulares no corpo
    
    Assim como existem uma `Query` e uma `Path` para definir dados adicionais para parâmetros de consulta e de rota, o **FastAPI** provê o equivalente para `Body`.
    
    Por exemplo, extendendo o modelo anterior, você poder decidir por ter uma outra chave `importance` no mesmo corpo, além de `item` e `user`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/header-param-models.md

    ## Check the Docs
    
    You can see the required headers in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Forbid Extra Headers
    
    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/tutorial/body-multiple-params.md

        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        },
        "importance": 5
    }
    ```
    
    Again, it will convert the data types, validate, document, etc.
    
    ## Multiple body params and query
    
    Of course, you can also declare additional query parameters whenever you need, additional to any body parameters.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    The interactive API docs will update accordingly, to allow multiple values:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### Query parameter list / multiple values with defaults
    
    And you can also define a default `list` of values if none are provided:
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

    ///
    
    Интерактивная документация API будет обновлена соответствующим образом, где будет разрешено множество значений:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### Query-параметр со множеством значений по умолчанию
    
    Вы также можете указать тип `list` со списком значений по умолчанию на случай, если вам их не предоставят:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. 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)
Back to top