Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 752 for tip (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/llm-prompt.md

    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK.
    3) If a generic title is present, prefer these canonical titles:
    
    - `/// note | 注意`
    
    Notes:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/response-model.md

    FastAPI will use this `response_model` to do all the data documentation, validation, etc. and also to **convert and filter the output data** to its type declaration.
    
    /// tip
    
    If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/vibe.md

    * **No code reviews**: There's no code to review. No PRs to approve. No comments to address. Embrace vibe coding fully, replace the theater of approving and merging vibe coded PRs that no one looks at with full proper vibes only.
    
    /// tip
    
    This is the ultimate **vibe-driven development** experience. You don't need to think about what your API does, just let the LLM handle it. 🧘
    
    ///
    
    ## Try It { #try-it }
    
    Go ahead, try it:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. docs/ja/docs/how-to/custom-request-and-route.md

    gzip のリクエストを解凍するために、カスタムの `Request` サブクラスを使う方法を見ていきます。
    
    そして、そのカスタムリクエストクラスを使うための `APIRoute` サブクラスを用意します。
    
    ### カスタム `GzipRequest` クラスの作成 { #create-a-custom-gziprequest-class }
    
    /// tip | 豆知識
    
    これは仕組みを示すためのサンプルです。Gzip 対応が必要な場合は、用意されている [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware) を使用できます。
    
    ///
    
    まず、`GzipRequest` クラスを作成します。これは適切なヘッダーがある場合に本体を解凍するよう、`Request.body()` メソッドを上書きします。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/security/index.md

    # 高级安全 { #advanced-security }
    
    ## 附加特性 { #additional-features }
    
    除 [教程 - 用户指南: 安全性](../../tutorial/security/index.md) 中涵盖的功能之外,还有一些额外的功能来处理安全性。
    
    /// tip | 提示
    
    接下来的章节**并不一定是 "高级的"**。
    
    而且对于你的使用场景来说,解决方案很可能就在其中。
    
    ///
    
    ## 先阅读教程 { #read-the-tutorial-first }
    
    接下来的部分假设你已经阅读了主要的 [教程 - 用户指南: 安全性](../../tutorial/security/index.md)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 626 bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Order the parameters as you need { #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`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    FastAPIは、いくつかの<dfn title="「終了コード」「クリーンアップコード」「ティアダウンコード」「クローズコード」「コンテキストマネージャの終了コード」などと呼ばれることもあります">終了後の追加のステップ</dfn>を行う依存関係をサポートしています。
    
    これを行うには、`return`の代わりに`yield`を使い、その後に追加のステップ(コード)を書きます。
    
    /// tip | 豆知識
    
    `yield`は必ず依存関係ごとに1回だけ使用するようにしてください。
    
    ///
    
    /// note | 技術詳細
    
    以下と一緒に使用できる関数なら何でも有効です:
    
    * [`@contextlib.contextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager) または
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/server-sent-events.md

    看起來像這樣:
    
    ```
    data: {"name": "Portal Gun", "price": 999.99}
    
    data: {"name": "Plumbus", "price": 32.99}
    
    ```
    
    SSE 常用於 AI 聊天串流、即時通知、日誌與可觀察性,以及其他由伺服器主動推送更新給用戶端的情境。
    
    /// tip
    
    如果你要串流二進位資料,例如影片或音訊,請參考進階指南:[串流資料](../advanced/stream-data.md)。
    
    ///
    
    ## 使用 FastAPI 串流 SSE { #stream-sse-with-fastapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. docs/zh/docs/how-to/authentication-error-status-code.md

    例如,你可以创建一个 `HTTPBearer` 的子类,使其返回 `403 Forbidden` 错误,而不是默认的 `401 Unauthorized` 错误:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py310.py hl[9:13] *}
    
    /// tip | 提示
    
    注意该函数返回的是异常实例,而不是直接抛出它。抛出操作由其余的内部代码完成。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/security/index.md

    這正是各種「使用 Facebook、Google、X(Twitter)、GitHub 登入」系統在底層採用的機制。
    
    ### OAuth 1 { #oauth-1 }
    
    過去有 OAuth 1,和 OAuth2 非常不同,也更複雜,因為它直接規範了如何加密通訊。
    
    它現在並不流行,也很少被使用。
    
    OAuth2 不規範通訊如何加密,而是假設你的應用會透過 HTTPS 提供服務。
    
    /// tip | 提示
    在部署相關章節中,你會看到如何使用 Traefik 與 Let's Encrypt 免費設定 HTTPS。
    ///
    
    ## OpenID Connect { #openid-connect }
    
    OpenID Connect 是基於 **OAuth2** 的另一套規範。
    
    它只是擴充了 OAuth2,釐清了 OAuth2 中相對模糊的部份,以提升互通性。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top