Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 979 for tipi (0.16 seconds)

  1. docs/tr/docs/tutorial/first-steps.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/response-directly.md

    如果你宣告了 [回應模型](../tutorial/response-model.md),FastAPI 會用 Pydantic 將資料序列化為 JSON。
    
    如果你沒有宣告回應模型,FastAPI 會使用在[JSON 相容編碼器](../tutorial/encoder.md)中說明的 `jsonable_encoder`,並把它放進 `JSONResponse`。
    
    但你也可以直接從路徑操作回傳 `JSONResponse`。
    
    /// tip
    
    通常使用 [回應模型](../tutorial/response-model.md) 會有更好的效能,因為那樣會在 Rust 端使用 Pydantic 來序列化資料,而不是直接回傳 `JSONResponse`。
    
    ///
    
    ## 回傳 `Response` { #return-a-response }
    
    其實,你可以回傳任何 `Response`,或其任何子類別。
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/query-params.md

    當然,你可以同時定義部分參數為必填、部分有預設值、部分為選填:
    
    {* ../../docs_src/query_params/tutorial006_py310.py hl[8] *}
    
    在此例中,有 3 個查詢參數:
    
    * `needy`,必填的 `str`。
    * `skip`,具有預設值 `0` 的 `int`。
    * `limit`,選填的 `int`。
    
    /// tip | 提示
    
    你也可以像在[路徑參數](path-params.md#predefined-values)中一樣使用 `Enum`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/first-steps.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/generate-clients.md

    **TypeScript クライアント**向けには、[Hey API](https://heyapi.dev/) が目的特化のソリューションで、TypeScript エコシステムに最適化された体験を提供します。
    
    他の SDK ジェネレータは [OpenAPI.Tools](https://openapi.tools/#sdk) でも見つけられます。
    
    /// tip | 豆知識
    
    FastAPI は自動的に **OpenAPI 3.1** の仕様を生成します。したがって、使用するツールはこのバージョンをサポートしている必要があります。
    
    ///
    
    ## FastAPI スポンサーによる SDK ジェネレータ { #sdk-generators-from-fastapi-sponsors }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/body-updates.md

    * Enregistrez les données dans votre base de données.
    * Retournez le modèle mis à jour.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    
    /// tip | Astuce
    
    Vous pouvez en réalité utiliser cette même technique avec une opération HTTP `PUT`.
    
    Mais l’exemple ici utilise `PATCH` car il a été créé pour ces cas d’usage.
    
    ///
    
    /// note | Remarque
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/strict-content-type.md

    ## 攻擊範例 { #example-attack }
    
    假設你打造了一個在本機執行 AI 代理(AI agent)的方法。
    
    它提供一個 API:
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    同時也有一個前端:
    
    ```
    http://localhost:8000
    ```
    
    /// tip | 提示
    
    請注意兩者的主機(host)相同。
    
    ///
    
    接著你可以透過前端讓 AI 代理代你執行動作。
    
    由於它在本機執行、而非公開的網際網路上,你決定不設定任何身分驗證,只信任對本機網路的存取。
    
    然後你的某位使用者可能安裝並在本機執行它。
    
    接著他可能打開一個惡意網站,例如:
    
    ```
    https://evilhackers.example.com
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/first-steps.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/generate-clients.md

    对于 **TypeScript 客户端**,[Hey API](https://heyapi.dev/) 是为 TypeScript 生态打造的专用方案,提供优化的使用体验。
    
    你还可以在 [OpenAPI.Tools](https://openapi.tools/#sdk) 上发现更多 SDK 生成器。
    
    /// tip | 提示
    
    FastAPI 会自动生成 **OpenAPI 3.1** 规范,因此你使用的任何工具都必须支持该版本。
    
    ///
    
    ## 来自 FastAPI 赞助商的 SDK 生成器 { #sdk-generators-from-fastapi-sponsors }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/query-params.md

    In this case, there are 3 query parameters:
    
    * `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).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top