Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 767 for Img (0.01 seconds)

  1. docs/zh/docs/async.md

    ### 并发汉堡 { #concurrent-burgers }
    
    你和你的恋人一起去快餐店,你排队在后面,收银员从你前面的人接单。😍
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-01.png" class="illustration">
    
    然后轮到你了,你为你的恋人和你选了两个非常豪华的汉堡。🍔🍔
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-02.png" class="illustration">
    
    收银员对厨房里的厨师说了一些话,让他们知道他们必须为你准备汉堡(尽管他们目前正在为之前的顾客准备汉堡)。
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-03.png" class="illustration">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/sub-applications.md

    然後開啟位於 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) 的文件。
    
    你會看到主應用的自動 API 文件,只包含它自己的*路徑操作*:
    
    <img src="/img/tutorial/sub-applications/image01.png">
    
    接著,開啟子應用程式的文件:[http://127.0.0.1:8000/subapi/docs](http://127.0.0.1:8000/subapi/docs)。
    
    你會看到子應用程式的自動 API 文件,只包含它自己的*路徑操作*,而且都在正確的子路徑前綴 `/subapi` 之下:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    如果你嘗試在任一介面中互動,它們都會正常運作,因為瀏覽器能與各自的應用程式或子應用程式通訊。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. docs_src/additional_responses/tutorial002_py310.py

        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 596 bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/debugging.md

    * Run the debugger with the option "`Python: Current File (Integrated Terminal)`".
    
    It will then start the server with your **FastAPI** code, stop at your breakpoints, etc.
    
    Here's how it might look:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    If you use Pycharm, you can:
    
    * Open the "Run" menu.
    * Select the option "Debug...".
    * Then a context menu shows up.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/sub-applications.md

    </div>
    
    然后在 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) 打开文档。
    
    下图显示的是主应用 API 文档,只包括其自有的*路径操作*。
    
    <img src="/img/tutorial/sub-applications/image01.png">
    
    然后查看子应用文档 [http://127.0.0.1:8000/subapi/docs](http://127.0.0.1:8000/subapi/docs)。
    
    下图显示的是子应用的 API 文档,也是只包括其自有的*路径操作*,所有这些路径操作都在 `/subapi` 子路径前缀下。
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    两个用户界面都可以正常运行,因为浏览器能够与每个指定的应用或子应用会话。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/path-params.md

    ///
    
    ## Documentation { #documentation }
    
    And when you open your browser at [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs), you will see an automatic, interactive, API documentation like:
    
    <img src="/img/tutorial/path-params/image01.png">
    
    /// check
    
    Again, just with that same Python type declaration, **FastAPI** gives you automatic, interactive documentation (integrating Swagger UI).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/response-status-code.md

    ///
    
    It will:
    
    * Return that status code in the response.
    * Document it as such in the OpenAPI schema (and so, in the user interfaces):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note
    
    Some response codes (see the next section) indicate that the response does not have a body.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/debugging.md

    * 运行「Python:当前文件(集成终端)」选项的调试器。
    
    然后它会使用你的 **FastAPI** 代码开启服务器,停在断点处,等等。
    
    看起来可能是这样:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    如果使用 Pycharm,你可以:
    
    * 打开「运行」菜单。
    * 选中「调试...」。
    * 然后出现一个上下文菜单。
    * 选择要调试的文件(本例中的 `main.py`)。
    
    然后它会使用你的 **FastAPI** 代码开启服务器,停在断点处,等等。
    
    看起来可能是这样:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. docs/ja/docs/python-types.md

    同じタイミングで `Ctrl+Space` で自動補完を実行すると、以下のようになります:
    
    <img src="/img/python-types/image02.png">
    
    これであれば、あなたは「ベルを鳴らす」ものを見つけるまで、オプションを見てスクロールできます:
    
    <img src="/img/python-types/image03.png">
    
    ## より強い動機 { #more-motivation }
    
    この関数を見てください。すでに型ヒントを持っています:
    
    {* ../../docs_src/python_types/tutorial003_py310.py hl[1] *}
    
    エディタは変数の型を知っているので、補完だけでなく、エラーチェックをすることもできます:
    
    <img src="/img/python-types/image04.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  10. docs/ja/docs/async.md

    あなたは好きな人とファストフードを買いに行き、前の人たちの注文をレジ係が受ける間、列に並びます。😍
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-01.png" class="illustration">
    
    やがてあなたの番になり、好きな人と自分のために、とても豪華なハンバーガーを2つ注文します。🍔🍔
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-02.png" class="illustration">
    
    レジ係はキッチンの料理人に、あなたのハンバーガーを用意するよう声をかけます (料理人はいま前のお客さんの分を作っています)。
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-03.png" class="illustration">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 27.9K bytes
    - Click Count (0)
Back to Top