Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 849 for Tutorial (0.23 seconds)

  1. docs/docker/README.md

    See our web documentation on [Deploying MinIO in Standalone Mode](Deploy Standalone MinIO in a Container) for a more structured tutorial on deploying MinIO in a container.
    
    ## Prerequisites
    
    Docker installed on your machine. Download the relevant installer from [here](https://www.docker.com/community-edition#/download).
    
    ## Run Standalone MinIO on Docker
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/index.md

    So, the interactive docs will have all the information from these dependencies too:
    
    <img src="/img/tutorial/dependencies/image01.png">
    
    ## Simple usage { #simple-usage }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial005_py310.py hl[6] *}
    
    当你打开自动 API 文档时,你的扩展会显示在该 *路径操作* 的底部。
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    如果你查看最终生成的 OpenAPI(在你的 API 的 `/openapi.json`),你也会看到你的扩展作为该 *路径操作* 的一部分:
    
    ```JSON hl_lines="22"
    {
        "openapi": "3.1.0",
        "info": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. fastapi/encoders.py

        in a database that supports only JSON.
    
        Read more about it in the
        [FastAPI docs for JSON Compatible Encoder](https://fastapi.tiangolo.com/tutorial/encoder/).
        """
        custom_encoder = custom_encoder or {}
        if custom_encoder:
            if type(obj) in custom_encoder:
                return custom_encoder[type(obj)](obj)
            else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/stream-data.md

    # 流式数据 { #stream-data }
    
    如果你要流式传输可以结构化为 JSON 的数据,你应该[流式传输 JSON Lines](../tutorial/stream-json-lines.md)。
    
    但如果你想流式传输纯二进制数据或字符串,可以按下面的方法操作。
    
    /// info | 信息
    
    自 FastAPI 0.134.0 起新增。
    
    ///
    
    ## 使用场景 { #use-cases }
    
    如果你想流式传输纯字符串,例如直接来自某个 AI LLM 服务的输出,可以使用它。
    
    你也可以用它来流式传输大型二进制文件,在读取的同时按块发送,无需一次性把所有内容读入内存。
    
    你还可以用这种方式流式传输视频或音频,甚至可以在处理的同时生成并发送。
    
    ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/openapi-callbacks.md

    You will see your docs including a "Callbacks" section for your *path operation* that shows how the *external API* should look like:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/security/http-basic-auth.md

        - 送信された `username` と `password` を含みます。
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    URL を最初に開こうとしたとき(またはドキュメントで「Execute」ボタンをクリックしたとき)、ブラウザはユーザー名とパスワードの入力を求めます:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## ユーザー名の確認 { #check-the-username }
    
    より完全な例です。
    
    依存関係を使ってユーザー名とパスワードが正しいかを確認します。
    
    これには、Python 標準モジュール [`secrets`](https://docs.python.org/3/library/secrets.html) を用いてユーザー名とパスワードを検証します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/additional-responses.md

    以及一个状态码为 `200` 的响应,它使用你的 `response_model`,但包含自定义的 `example`:
    
    {* ../../docs_src/additional_responses/tutorial003_py310.py hl[20:31] *}
    
    所有这些都会被合并并包含到你的 OpenAPI 中,并显示在 API 文档里:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## 组合预定义响应和自定义响应 { #combine-predefined-responses-and-custom-ones }
    
    你可能希望有一些适用于许多*路径操作*的预定义响应,但同时又想把它们与每个*路径操作*所需的自定义响应组合在一起。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/body-nested-models.md

    ```
    
    如下所示:
    
    {* ../../docs_src/body_nested_models/tutorial008_py310.py hl[13] *}
    
    ## 隨處可得的編輯器支援 { #editor-support-everywhere }
    
    你將在各處獲得編輯器支援。
    
    即使是列表中的項目也一樣:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    若直接操作 `dict` 而不是使用 Pydantic 模型,就無法獲得這種等級的編輯器支援。
    
    但你也不必擔心,傳入的 dict 會自動被轉換,而你的輸出也會自動轉換為 JSON。
    
    ## 任意 `dict` 的本文 { #bodies-of-arbitrary-dicts }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/additional-responses.md

    さらに、`response_model` を使うステータスコード `200` のレスポンスに独自の `example` を含めることもできます:
    
    {* ../../docs_src/additional_responses/tutorial003_py310.py hl[20:31] *}
    
    これらはすべて結合されて OpenAPI に含まれ、API ドキュメントに表示されます:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## 事前定義レスポンスとカスタムの組み合わせ { #combine-predefined-responses-and-custom-ones }
    
    多くの *path operations* に適用できる事前定義のレスポンスを用意しつつ、各 *path operation* ごとに必要なカスタムレスポンスと組み合わせたい場合があります。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top