Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 909 for FastAPI (0.42 sec)

  1. docs/en/docs/tutorial/response-status-code.md

    /// note | Technical Details
    
    You could also use `from starlette import status`.
    
    **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ## Changing the default { #changing-the-default }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/behind-a-proxy.md

    返回的响应如下:
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### 在 FastAPI 应用里设置 `root_path`
    
    还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。
    
    {* ../../docs_src/behind_a_proxy/tutorial002.py hl[3] *}
    
    传递 `root_path` 给 `FastAPI` 与传递 `--root-path` 命令行选项给 Uvicorn 或 Hypercorn 一样。
    
    ### 关于 `root_path`
    
    注意,服务器(Uvicorn)只是把 `root_path` 传递给应用。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/behind-a-proxy.md

    }
    ```
    
    ### Festlegen des `root_path` in der FastAPI-Anwendung
    
    Falls Sie keine Möglichkeit haben, eine Kommandozeilenoption wie `--root-path` oder ähnlich zu übergeben, können Sie als Alternative beim Erstellen Ihrer FastAPI-Anwendung den Parameter `root_path` setzen:
    
    {* ../../docs_src/behind_a_proxy/tutorial002.py hl[3] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. docs/em/docs/alternatives.md

    /// check | 😮 **FastAPI**
    
    ◾-🛠️. ⚒ ⚫️ ⏩ 🌀 & 🏏 🧰 & 🍕 💪.
    
    ✔️ 🙅 & ⏩ ⚙️ 🕹 ⚙️.
    
    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">📨</a>
    
    **FastAPI** 🚫 🤙 🎛 **📨**. 👫 ↔ 📶 🎏.
    
    ⚫️ 🔜 🤙 ⚠ ⚙️ 📨 *🔘* FastAPI 🈸.
    
    ✋️, FastAPI 🤚 🌈 ⚪️➡️ 📨.
    
    **📨** 🗃 *🔗* ⏮️ 🔗 (👩‍💻), ⏪ **FastAPI** 🗃 *🏗* 🔗 (💽).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/ja/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *}
    
    ## `websocket` を作成する
    
    **FastAPI** アプリケーションで、`websocket` を作成します。
    
    {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *}
    
    /// note | 技術詳細
    
    `from starlette.websockets import WebSocket` を使用しても構いません.
    
    **FastAPI** は開発者の利便性のために、同じ `WebSocket` を提供します。しかし、こちらはStarletteから直接提供されるものです。
    
    ///
    
    ## メッセージの送受信
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/schema-extra-example.md

    이로인해, FastAPI 0.99.0 이전 버전은 아직 OpenAPI 3.1.0 보다 낮은 버전을 사용했습니다.
    
    ///
    
    ### Pydantic과 FastAPI `examples`
    
    `examples`를 Pydantic 모델 속에 추가할 때, `schema_extra` 혹은 `Field(examples=["something"])`를 사용하면 Pydantic 모델의 **JSON 스키마**에 해당 예시가 추가됩니다.
    
    그리고 Pydantic 모델의 **JSON 스키마**는 API의 **OpenAPI**에 포함되고, 그 후 문서 UI 속에서 사용됩니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/advanced-dependencies.md

    这里说的不是类本身(类本就是可调用项),而是类实例。
    
    为此,需要声明 `__call__` 方法:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[10] *}
    
    本例中,**FastAPI**  使用 `__call__` 检查附加参数及子依赖项,稍后,还要调用它向*路径操作函数*传递值。
    
    ## 参数化实例
    
    接下来,使用 `__init__` 声明用于**参数化**依赖项的实例参数:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[7] *}
    
    本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。
    
    ## 创建实例
    
    使用以下代码创建类实例:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-param-models.md

    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Query Parameters with a Pydantic Model { #query-parameters-with-a-pydantic-model }
    
    Declare the **query parameters** that you need in a **Pydantic model**, and then declare the parameter as `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. .github/workflows/publish.yml

    name: Publish
    
    on:
      release:
        types:
          - created
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        permissions:
          id-token: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:16 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. docs/bn/docs/python-types.md

    ///
    
    ## **FastAPI**-এ টাইপ হিন্টস
    
    **FastAPI** এই টাইপ হিন্টগুলি ব্যবহার করে বেশ কিছু জিনিস করে।
    
    **FastAPI**-এ আপনি টাইপ হিন্টগুলি সহ প্যারামিটার ঘোষণা করেন এবং আপনি পান:
    
    * **এডিটর সাপোর্ট**।
    * **টাইপচেক**।
    
    ...এবং **FastAPI** একই ঘোষণাগুলি ব্যবহার করে:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top