Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 289 for Starlettes (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/deployment/versions.md

    你应该为你的应用程序添加测试。
    
    使用 **FastAPI** 编写测试非常简单(感谢 Starlette),请参考文档:[测试](../tutorial/testing.md)
    
    添加测试后,你可以将 **FastAPI** 版本升级到更新版本,并通过运行测试来确保所有代码都能正常工作。
    
    如果一切正常,或者在进行必要的更改之后,并且所有测试都通过了,那么你可以将`fastapi`固定到新的版本。
    
    ## 关于Starlette { #about-starlette }
    
    你不应该固定`starlette`的版本。
    
    不同版本的 **FastAPI** 将使用特定的较新版本的 Starlette。
    
    因此,**FastAPI** 自己可以使用正确的 Starlette 版本。
    
    ## 关于 Pydantic { #about-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/middleware.md

    你也讀過如何處理 [使用 `CORSMiddleware` 的 CORS](../tutorial/cors.md)。
    
    本節將示範如何使用其他中介軟體。
    
    ## 新增 ASGI 中介軟體 { #adding-asgi-middlewares }
    
    由於 **FastAPI** 建立在 Starlette 上並實作了 <abbr title="Asynchronous Server Gateway Interface - 非同步伺服器閘道介面">ASGI</abbr> 規範,你可以使用任何 ASGI 中介軟體。
    
    中介軟體不一定要為 FastAPI 或 Starlette 專門撰寫,只要遵循 ASGI 規範即可運作。
    
    一般來說,ASGI 中介軟體是類別,預期第一個參數接收一個 ASGI 應用程式。
    
    因此,在第三方 ASGI 中介軟體的文件中,通常會指示你這樣做:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/middleware.md

    ## Agregando middlewares ASGI { #adding-asgi-middlewares }
    
    Como **FastAPI** está basado en Starlette e implementa la especificación <abbr title="Asynchronous Server Gateway Interface - Interfaz de puerta de enlace de servidor asíncrona">ASGI</abbr>, puedes usar cualquier middleware ASGI.
    
    Un middleware no tiene que estar hecho para FastAPI o Starlette para funcionar, siempre que siga la especificación ASGI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. docs/zh/docs/features.md

    * 代码库100% <dfn title="Python 类型注解,有了这个你的编辑器和外部工具可以给你更好的支持">类型注释</dfn>。
    * 用于生产应用。
    
    ## Starlette 特性 { #starlette-features }
    
    **FastAPI** 和 [**Starlette**](https://www.starlette.dev/) 完全兼容(并基于)。所以,你有的其他的 Starlette 代码也能正常工作。`FastAPI` 实际上是 `Starlette` 的一个子类。所以,如果你已经知道或者使用 Starlette,大部分的功能会以相同的方式工作。
    
    通过 **FastAPI** 你可以获得所有 **Starlette** 的特性(FastAPI 就像加强版的 Starlette):
    
    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)
  5. docs/de/docs/deployment/versions.md

    ## Über Starlette { #about-starlette }
    
    Sie sollten die Version von `starlette` nicht pinnen.
    
    Verschiedene Versionen von **FastAPI** verwenden eine bestimmte neuere Version von Starlette.
    
    Sie können **FastAPI** also einfach die korrekte Starlette-Version verwenden lassen.
    
    ## Über Pydantic { #about-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/response-headers.md

    {* ../../docs_src/response_headers/tutorial001_py310.py hl[10:12] *}
    
    /// note | 技術詳細
    
    `from starlette.responses import Response` や `from starlette.responses import JSONResponse` を使うこともできます。
    
    **FastAPI** は、開発者であるあなたへの便宜として、`starlette.responses` と同じものを `fastapi.responses` として提供しています。しかし、利用可能なレスポンスの大半は直接 Starlette から来ています。
    
    また、`Response` はヘッダーや Cookie を設定するのによく使われるため、**FastAPI** は `fastapi.Response` でも提供しています。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. docs/pt/docs/deployment/versions.md

    ## Sobre Starlette { #about-starlette }
    
    Não é recomendado fixar a versão de `starlette`.
    
    Versões diferentes de **FastAPI** utilizarão uma versão específica e mais recente de Starlette.
    
    Então, você pode deixar **FastAPI** usar a versão correta do Starlette.
    
    ## Sobre Pydantic { #about-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. docs/en/docs/features.md

    * Used in production applications.
    
    ## Starlette features { #starlette-features }
    
    **FastAPI** is fully compatible with (and based on) [**Starlette**](https://www.starlette.dev/). So, any additional Starlette code you have, will also work.
    
    `FastAPI` is actually a sub-class of `Starlette`. So, if you already know or use Starlette, most of the functionality will work the same way.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. docs/pt/docs/features.md

    * Usado para aplicações em produção.
    
    ## Recursos do Starlette { #starlette-features }
    
    **FastAPI** é totalmente compatível com (e baseado no) [**Starlette**](https://www.starlette.dev/). Então, qualquer código adicional Starlette que você tiver, também funcionará.
    
    `FastAPI` é na verdade uma sub-classe do `Starlette`. Então, se você já conhece ou usa Starlette, a maioria das funcionalidades se comportará da mesma forma.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/middleware.md

    ## Ajouter des middlewares ASGI { #adding-asgi-middlewares }
    
    Comme **FastAPI** est basé sur Starlette et implémente la spécification <abbr title="Asynchronous Server Gateway Interface - Interface passerelle serveur asynchrone">ASGI</abbr>, vous pouvez utiliser n'importe quel middleware ASGI.
    
    Un middleware n'a pas besoin d'être conçu pour FastAPI ou Starlette pour fonctionner, tant qu'il suit la spécification ASGI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top