Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,801 for paras (0.03 sec)

  1. docs/zh/docs/tutorial/query-params.md

    ```
    
    ////
    
    本例中有 3 个查询参数:
    
    * `needy`,必选的 `str` 类型参数
    * `skip`,默认值为 `0` 的 `int` 类型参数
    * `limit`,可选的 `int` 类型参数
    
    /// tip | "提示"
    
    还可以像在[路径参数](path-params.md#_8){.internal-link target=_blank} 中那样使用 `Enum`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/cookie-params.md

    ```Python hl_lines="9"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | "Technische Details"
    
    `Cookie` ist eine Schwesterklasse von `Path` und `Query`. Sie erbt von derselben gemeinsamen `Param`-Elternklasse.
    
    Aber erinnern Sie sich, dass, wenn Sie `Query`, `Path`, `Cookie` und andere von `fastapi` importieren, diese tatsächlich Funktionen sind, welche spezielle Klassen zurückgeben.
    
    ///
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/cookie-params.md

    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python hl_lines="9"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | "技术细节"
    
    `Cookie` 、`Path` 、`Query` 是**兄弟类**,都继承自共用的 `Param` 类。
    
    注意,从 `fastapi` 导入的 `Query`、`Path`、`Cookie` 等对象,实际上是返回特殊类的函数。
    
    ///
    
    /// info | "说明"
    
    必须使用 `Cookie` 声明 cookie 参数,否则该参数会被解释为查询参数。
    
    ///
    
    ## 小结
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params-numeric-validations.md

    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
    
    /// info
    
    `Query`, `Path`, and other classes you will see later are subclasses of a common `Param` class.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/cookie-params.md

    ///
    
    ```Python hl_lines="9"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | "기술 세부사항"
    
    `Cookie`는 `Path` 및 `Query`의 "자매"클래스입니다. 이 역시 동일한 공통 `Param` 클래스를 상속합니다.
    
    `Query`, `Path`, `Cookie` 그리고 다른 것들은 `fastapi`에서 임포트 할 때, 실제로는 특별한 클래스를 반환하는 함수임을 기억하세요.
    
    ///
    
    /// info | "정보"
    
    쿠키를 선언하기 위해서는 `Cookie`를 사용해야 합니다. 그렇지 않으면 해당 매개변수를 쿼리 매개변수로 해석하기 때문입니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/tutorial/header-params.md

    {!> ../../docs_src/header_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | "Technical Details"
    
    `Header` is a "sister" class of `Path`, `Query` and `Cookie`. It also inherits from the same common `Param` class.
    
    But remember that when you import `Query`, `Path`, `Header`, and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/ko/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` 클래스의 서브 클래스입니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params.md

    * `needy`, a required `str`.
    * `skip`, an `int` with a default value of `0`.
    * `limit`, an optional `int`.
    
    /// tip
    
    You could also use `Enum`s the same way as with [Path Parameters](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/header-params.md

    最初の値がデフォルト値で、追加の検証パラメータや注釈パラメータをすべて渡すことができます。
    
    ```Python hl_lines="9"
    {!../../docs_src/header_params/tutorial001.py!}
    ```
    
    /// note | "技術詳細"
    
    `Header`は`Path`や`Query`、`Cookie`の「姉妹」クラスです。また、同じ共通の`Param`クラスを継承しています。
    
    しかし、`fastapi`から`Query`や`Path`、`Header`などをインポートする場合、それらは実際には特殊なクラスを返す関数であることを覚えておいてください。
    
    ///
    
    /// info | "情報"
    
    ヘッダーを宣言するには、`Header`を使う必要があります。なぜなら、そうしないと、パラメータがクエリのパラメータとして解釈されてしまうからです。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top