Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 453 for starlette (0.07 seconds)

  1. docs/en/docs/release-notes.md

    ### Refactors
    
    * ♻️ Re-implement `on_event` in FastAPI for compatibility with the next Starlette, while keeping backwards compatibility. PR [#14851](https://github.com/fastapi/fastapi/pull/14851) by [@tiangolo](https://github.com/tiangolo).
    
    ### Upgrades
    
    * ⬆️ Upgrade Starlette supported version range to `starlette>=0.40.0,<1.0.0`. PR [#14853](https://github.com/fastapi/fastapi/pull/14853) by [@tiangolo](https://github.com/tiangolo).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/cors.md

    /// note | 技術細節
    
    你也可以使用 `from starlette.middleware.cors import CORSMiddleware`。
    
    **FastAPI** 在 `fastapi.middleware` 中提供了幾個中介軟體,做為開發者的便利性。但多數可用的中介軟體其實直接來自 Starlette
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/first-steps.md

    `FastAPI` is a Python class that provides all the functionality for your API.
    
    /// note | Technical Details
    
    `FastAPI` is a class that inherits directly from `Starlette`.
    
    You can use all the [Starlette](https://www.starlette.dev/) functionality with `FastAPI` too.
    
    ///
    
    ### Step 2: create a `FastAPI` "instance" { #step-2-create-a-fastapi-instance }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/first-steps.md

    `FastAPI` ist eine Python-Klasse, die die gesamte Funktionalität für Ihre API bereitstellt.
    
    /// note | Technische Details
    
    `FastAPI` ist eine Klasse, die direkt von `Starlette` erbt.
    
    Sie können alle [Starlette](https://www.starlette.dev/)-Funktionalitäten auch mit `FastAPI` nutzen.
    
    ///
    
    ### Schritt 2: Erzeugen einer `FastAPI`-„Instanz“ { #step-2-create-a-fastapi-instance }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/path-params.md

    ### OpenAPI 支援 { #openapi-support }
    
    OpenAPI 並不支援直接宣告一個「路徑參數」內再包含一個「路徑」,因為那會導致難以測試與定義的情況。
    
    然而,你仍可在 **FastAPI** 中這樣做,方法是使用 Starlette 的其中一個內部工具。
    
    而文件依然能運作,只是它不會額外說明該參數應該包含一個路徑。
    
    ### 路徑轉換器 { #path-convertor }
    
    使用 Starlette 提供的選項,你可以用像這樣的 URL 來宣告一個包含「路徑」的「路徑參數」:
    
    ```
    /files/{file_path:path}
    ```
    
    在這個例子裡,參數名稱是 `file_path`,而最後面的 `:path` 表示該參數應該匹配任意「路徑」。
    
    所以你可以這樣使用它:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/cors.md

    /// note | 技术细节
    
    你也可以使用 `from starlette.middleware.cors import CORSMiddleware`。
    
    出于方便,**FastAPI** 在 `fastapi.middleware` 中为开发者提供了几个中间件。但是大多数可用的中间件都是直接来自 Starlette
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[1] *}
    
    `FastAPI`は、APIのすべての機能を提供するPythonクラスです。
    
    /// note | 技術詳細
    
    `FastAPI`は`Starlette`を直接継承するクラスです。
    
    `FastAPI`でも[Starlette](https://www.starlette.dev/)のすべての機能を利用可能です。
    
    ///
    
    ### Step 2: `FastAPI`の「インスタンス」を生成 { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[3] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  8. docs/ja/docs/how-to/custom-request-and-route.md

    `Request` には `request.receive` もあり、これはリクエストの本体を「受信」するための関数です。
    
    `scope` の `dict` と `receive` 関数はいずれも ASGI 仕様の一部です。
    
    そしてこの 2 つ(`scope` と `receive`)が、新しい `Request` インスタンスを作成するために必要なものです。
    
    `Request` について詳しくは、[Starlette の Requests に関するドキュメント](https://www.starlette.dev/requests/) を参照してください。
    
    ///
    
    `GzipRequest.get_route_handler` が返す関数が異なるのは、`Request` を `GzipRequest` に変換する点だけです。
    
    これにより、`GzipRequest` は必要に応じてデータを解凍してから *path operations* に渡します。
    
    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)
  9. docs/zh/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[1] *}
    
    `FastAPI` 是一个为你的 API 提供了所有功能的 Python 类。
    
    /// note | 技术细节
    
    `FastAPI` 是直接从 `Starlette` 继承的类。
    
    你可以通过 `FastAPI` 使用所有的 [Starlette](https://www.starlette.dev/) 的功能。
    
    ///
    
    ### 步骤 2:创建一个 `FastAPI`「实例」 { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  10. docs/ja/docs/history-design-future.md

    いくつかの代替手法を試したあと、私は[**Pydantic**](https://docs.pydantic.dev/)の強みを利用することを決めました。
    
    そして、JSON Schemaに完全に準拠するようにしたり、制約宣言を定義するさまざまな方法をサポートしたり、いくつかのエディターでのテストに基づいてエディターのサポート (型チェック、自動補完) を改善するために貢献しました。
    
    開発中、もう1つの重要な鍵となる[**Starlette**](https://www.starlette.dev/)にも貢献しました。
    
    ## 開発 { #development }
    
    私が**FastAPI**自体の作成を開始した時には、ほとんどの部分がすでに準備されており、設計が定義され、必要な条件とツールの準備ができていました。そして規格や仕様に関する知識が、明確になり、更新されていました。
    
    ## これから { #future }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.1K bytes
    - Click Count (0)
Back to Top