Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 376 for Starlettes (0.05 seconds)

  1. fastapi/middleware/asyncexitstack.py

    from contextlib import AsyncExitStack
    
    from starlette.types import ASGIApp, Receive, Scope, Send
    
    
    # Used mainly to close files after the request is done, dependencies are closed
    # in their own AsyncExitStack
    class AsyncExitStackMiddleware:
        def __init__(
            self, app: ASGIApp, context_name: str = "fastapi_middleware_astack"
        ) -> None:
            self.app = app
            self.context_name = context_name
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 637 bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/events.md

    /// info
    
    Vous pouvez en lire plus sur les gestionnaires `lifespan` de Starlette dans la [documentation « Lifespan » de Starlette](https://www.starlette.dev/lifespan/).
    
    Y compris comment gérer l'état de cycle de vie qui peut être utilisé dans d'autres parties de votre code.
    
    ///
    
    ## Sous-applications { #sub-applications }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/cors.md

    /// note | Technical Details
    
    You could also use `from starlette.middleware.cors import CORSMiddleware`.
    
    **FastAPI** provides several middlewares in `fastapi.middleware` just as a convenience for you, the developer. But most of the available middlewares come directly from Starlette.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. fastapi/exceptions.py

    from collections.abc import Mapping, Sequence
    from typing import Annotated, Any, TypedDict
    
    from annotated_doc import Doc
    from pydantic import BaseModel, create_model
    from starlette.exceptions import HTTPException as StarletteHTTPException
    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    
    
    class EndpointContext(TypedDict, total=False):
        function: str
        path: str
        file: str
        line: int
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. docs/zh/docs/how-to/custom-request-and-route.md

    `Request` 还包含 `request.receive`,它是一个用于“接收”请求体的函数。
    
    `scope` 字典和 `receive` 函数都是 ASGI 规范的一部分。
    
    创建一个新的 `Request` 实例需要这两样:`scope` 和 `receive`。
    
    想了解更多关于 `Request` 的信息,请查看 [Starlette 的 Request 文档](https://www.starlette.dev/requests/)。
    
    ///
    
    由 `GzipRequest.get_route_handler` 返回的函数唯一不同之处是把 `Request` 转换为 `GzipRequest`。
    
    这样,在传给我们的路径操作之前,`GzipRequest` 会(在需要时)负责解压数据。
    
    之后,其余处理逻辑完全相同。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. docs/es/docs/history-design-future.md

    Durante el desarrollo, también contribuí a [**Starlette**](https://www.starlette.dev/), el otro requisito clave.
    
    ## Desarrollo { #development }
    
    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)
  7. docs/en/docs/history-design-future.md

    During the development, I also contributed to [**Starlette**](https://www.starlette.dev/), the other key requirement.
    
    ## Development { #development }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. docs/pt/docs/history-design-future.md

    Durante o desenvolvimento, eu também contribuí com o [**Starlette**](https://www.starlette.dev/), outro requisito chave.
    
    ## Desenvolvimento { #development }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/custom-response.md

    /// note | Detalhes Técnicos
    
    Você também pode utilizar `from starlette.responses import HTMLResponse`.
    
    O **FastAPI** provê a mesma `starlette.responses` como `fastapi.responses` apenas como uma facilidade para você, desenvolvedor. Mas a maioria das respostas disponíveis vêm diretamente do Starlette.
    
    ///
    
    ### `Response` { #response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  10. docs/tr/docs/index.md

    **Typer**, FastAPI'ın küçük kardeşi. Ve hedefi CLI'ların **FastAPI'ı** olmak. ⌨️ 🚀
    
    ## Gereksinimler { #requirements }
    
    FastAPI iki devin omuzları üstünde duruyor:
    
    * Web kısımları için [Starlette](https://www.starlette.dev/).
    * Data kısımları için [Pydantic](https://docs.pydantic.dev/).
    
    ## Kurulum { #installation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top