Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 334 for Starlette (0.11 sec)

  1. docs/zh/docs/advanced/response-directly.md

    
    ```Python hl_lines="4 6 20 21"
    {!../../docs_src/response_directly/tutorial001.py!}
    ```
    
    /// note | "技术细节"
    
    你也可以使用 `from starlette.responses import JSONResponse`。
    
    出于方便,**FastAPI** 会提供与 `starlette.responses` 相同的 `fastapi.responses` 给开发者。但是大多数可用的响应都直接来自 Starlette。
    
    ///
    
    ## 返回自定义 `Response`
    
    上面的例子展示了需要的所有部分,但还不够实用,因为你本可以只是直接返回 `item`,而**FastAPI** 默认帮你把这个 `item` 放到 `JSONResponse` 中,又默认将其转换成了 `dict`等等。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-websockets.md

    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note
    
    For more details, check Starlette's documentation for <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 448 bytes
    - Viewed (0)
  3. docs/de/docs/advanced/custom-response.md

    /// note | "Technische Details"
    
    Sie können auch `from starlette.responses import HTMLResponse` verwenden.
    
    **FastAPI** bietet dieselben `starlette.responses` auch via `fastapi.responses` an, als Annehmlichkeit für Sie, den Entwickler. Die meisten verfügbaren Responses kommen aber direkt von Starlette.
    
    ///
    
    ### `Response`
    
    Die Hauptklasse `Response`, alle anderen Responses erben von ihr.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. docs/ja/docs/advanced/response-directly.md

    ```Python hl_lines="6-7  21-22"
    {!../../docs_src/response_directly/tutorial001.py!}
    ```
    
    /// note | "技術詳細"
    
    また、`from starlette.responses import JSONResponse` も利用できます。
    
    **FastAPI** は開発者の利便性のために `fastapi.responses` という `starlette.responses` と同じものを提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。
    
    ///
    
    ## カスタム `Response` を返す
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. docs/he/docs/index.md

    **Typer** היא אחותה הקטנה של FastAPI. ומטרתה היא להיות ה - **FastAPI של ממשקי שורת פקודה**. ⌨️ 🚀
    
    ## תלויות
    
    פייתון 3.6+
    
    FastAPI עומדת על כתפי ענקיות:
    
    -   <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> לחלקי הרשת.
    -   <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> לחלקי המידע.
    
    ## התקנה
    
    <div dir="ltr" class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. fastapi/templating.py

    from starlette.templating import Jinja2Templates as Jinja2Templates  # noqa...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 76 bytes
    - Viewed (0)
  7. docs/vi/docs/features.md

    * Được sử dụng cho các ứng dụng sản phẩm.
    
    ## Tính năng của Starlette
    
    `FastAPI` is thực sự là một sub-class của `Starlette`. Do đó, nếu bạn đã biết hoặc đã sử dụng Starlette, đa số các chức năng sẽ làm việc giống như vậy.
    
    Với **FastAPI**, bạn có được tất cả những tính năng của **Starlette**:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/first-steps.md

    `FastAPI` es una clase de Python que provee toda la funcionalidad para tu API.
    
    /// note | Detalles Técnicos
    
    `FastAPI` es una clase que hereda directamente de `Starlette`.
    
    También puedes usar toda la funcionalidad de <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>.
    
    ///
    
    ### Paso 2: crea un "instance" de `FastAPI`
    
    ```Python hl_lines="3"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/first-steps.md

    /// note | "Détails techniques"
    
    `FastAPI` est une classe héritant directement de `Starlette`.
    
    Vous pouvez donc aussi utiliser toutes les fonctionnalités de <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> depuis `FastAPI`.
    
    ///
    
    ### Étape 2 : créer une "instance" `FastAPI`
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/first-steps.md

    `FastAPI` é uma classe Python que fornece todas as funcionalidades para sua API.
    
    /// note | "Detalhes técnicos"
    
    `FastAPI` é uma classe que herda diretamente de `Starlette`.
    
    Você pode usar todas as funcionalidades do <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> com `FastAPI` também.
    
    ///
    
    ### Passo 2: crie uma "instância" de `FastAPI`
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top