Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 334 for Starlette (0.19 sec)

  1. docs/pt/docs/tutorial/path-operation-configuration.md

    /// note | "Detalhes Técnicos"
    
    Você também poderia usar `from starlette import status`.
    
    **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente do Starlette.
    
    ///
    
    ## Tags
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. fastapi/middleware/__init__.py

    from starlette.middleware import Middleware as Middleware...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 58 bytes
    - Viewed (0)
  3. fastapi/middleware/trustedhost.py

    from starlette.middleware.trustedhost import (  # noqa
        TrustedHostMiddleware as TrustedHostMiddleware,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 109 bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/events.md

    这个函数执行 I/O(输入/输出)操作,需要等待内容写进磁盘。
    
    但 `open()` 函数不支持使用 `async` 与 `await`。
    
    因此,声明事件处理函数要使用 `def`,不能使用 `asnyc def`。
    
    ///
    
    /// info | "说明"
    
    有关事件处理器的详情,请参阅 <a href="https://www.starlette.io/events/" class="external-link" target="_blank">Starlette 官档 - 事件</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/events.md

    /// info | "Informação"
    
    Você pode ler mais sobre o manipulador `lifespan` do Starlette na <a href="https://www.starlette.io/lifespan/" class="external-link" target="_blank">Documentação do Lifespan Starlette</a>.
    
    Incluindo como manipular estado do lifespan que pode ser usado em outras áreas do seu código.
    
    ///
    
    ## Sub Aplicações
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. docs/ru/docs/history-design-future.md

    В то же время, я принимал участие в разработке <a href="https://www.starlette.io/" class="external-link" target="_blank">**Starlette**</a>, ещё один из основных компонентов FastAPI.
    
    ## Разработка
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. docs/de/docs/history-design-future.md

    Während der Entwicklung habe ich auch zu <a href="https://www.starlette.io/" class="external-link" target="_blank">**Starlette**</a> beigetragen, der anderen Schlüsselanforderung.
    
    ## Entwicklung
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. docs/ja/docs/index.md

    **Typer**は FastAPI の弟分です。そして、**CLI 版 の FastAPI**を意味しています。
    
    ## 必要条件
    
    FastAPI は巨人の肩の上に立っています。
    
    - Web の部分は<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 class="termy">
    
    ```console
    $ pip install fastapi
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/testing.md

    /// tip
    
    👀 👈 🔬 🔢 😐 `def`, 🚫 `async def`.
    
     &amp; 🤙 👩‍💻 😐 🤙, 🚫 ⚙️ `await`.
    
    👉 ✔ 👆 ⚙️ `pytest` 🔗 🍵 🤢.
    
    ///
    
    /// note | "📡 ℹ"
    
    👆 💪 ⚙️ `from starlette.testclient import TestClient`.
    
    **FastAPI** 🚚 🎏 `starlette.testclient` `fastapi.testclient` 🏪 👆, 👩‍💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃.
    
    ///
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/request-files.md

    ```
    
    ////
    
    接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。
    
    
    /// note | "技术细节"
    
    也可以使用 `from starlette.responses import HTMLResponse`。
    
    `fastapi.responses` 其实与 `starlette.responses` 相同,只是为了方便开发者调用。实际上,大多数 **FastAPI** 的响应都直接从 Starlette 调用。
    
    ///
    
    ### 带有额外元数据的多文件上传
    
    和之前的方式一样, 您可以为 `File()` 设置额外参数, 即使是 `UploadFile`:
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top