Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 376 for Starlettes (0.07 seconds)

  1. docs/tr/docs/tutorial/handling-errors.md

    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Teknik Detaylar
    
    `from starlette.requests import Request` ve `from starlette.responses import JSONResponse` da kullanabilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/handling-errors.md

    Así que puedes seguir lanzando un `HTTPException` de **FastAPI** como de costumbre en tu código.
    
    Pero cuando registras un manejador de excepciones, deberías registrarlo para el `HTTPException` de Starlette.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/handling-errors.md

    ```
    
    /// note | Detalhes Técnicos
    
    Você também pode usar `from starlette.requests import Request` e `from starlette.responses import JSONResponse`.
    
    **FastAPI** disponibiliza o mesmo `starlette.responses` através do `fastapi.responses` por conveniência ao desenvolvedor. Contudo, a maior parte das respostas disponíveis vem diretamente do Starlette. O mesmo acontece com o `Request`.
    
    ///
    
    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)
  4. docs/zh-hant/docs/tutorial/handling-errors.md

    但當你註冊例外處理器時,應該針對 Starlette 的 `HTTPException` 來註冊。
    
    如此一來,如果 Starlette 的內部程式碼,或任何 Starlette 擴充/外掛 raise 了 Starlette 的 `HTTPException`,你的處理器就能攔截並處理它。
    
    在這個範例中,為了能在同一份程式碼中同時使用兩種 `HTTPException`,我們把 Starlette 的例外重新命名為 `StarletteHTTPException`:
    
    ```Python
    from starlette.exceptions import HTTPException as StarletteHTTPException
    ```
    
    ### 重用 **FastAPI** 的例外處理器 { #reuse-fastapis-exception-handlers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  5. docs/ko/docs/alternatives.md

    핵심 웹 부분을 모두 처리하기. 그 위에 기능을 추가하기.
    
    `FastAPI` 클래스 자체는 `Starlette` 클래스를 직접 상속합니다.
    
    따라서 Starlette로 할 수 있는 모든 것은 기본적으로 **FastAPI**로도 직접 할 수 있습니다. 즉, **FastAPI**는 사실상 Starlette에 강력한 기능을 더한 것입니다.
    
    ///
    
    ### [Uvicorn](https://www.uvicorn.dev/) { #uvicorn }
    
    Uvicorn은 uvloop과 httptools로 구축된 초고속 ASGI 서버입니다.
    
    web framework가 아니라 서버입니다. 예를 들어 경로 기반 routing을 위한 도구는 제공하지 않습니다. 그런 것은 Starlette(또는 **FastAPI**) 같은 framework가 위에서 제공합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  6. docs/ko/docs/benchmarks.md

    * **Starlette**:
        * Uvicorn 다음으로 좋은 성능을 발휘합니다. 사실 Starlette는 Uvicorn을 사용하여 실행됩니다. 따라서 더 많은 코드를 실행해야 하기 때문에 Uvicorn보다 "느려질" 수밖에 없습니다.
        * 하지만 경로 기반 라우팅 등 간단한 웹 응용 프로그램을 구축할 수 있는 도구를 제공합니다.
        * Starlette를 비교할 때는 Sanic, Flask, Django 등의 웹 프레임워크(또는 마이크로 프레임워크)와 비교하세요.
    * **FastAPI**:
        * Starlette가 Uvicorn을 사용하므로 Uvicorn보다 빨라질 수 없는 것과 마찬가지로, **FastAPI**는 Starlette를 사용하므로 더 빠를 수 없습니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/middleware.md

    이 섹션에서는 다른 middleware들을 사용하는 방법을 살펴보겠습니다.
    
    ## ASGI middleware 추가하기 { #adding-asgi-middlewares }
    
    **FastAPI**는 Starlette를 기반으로 하고 <abbr title="Asynchronous Server Gateway Interface - 비동기 서버 게이트웨이 인터페이스">ASGI</abbr> 사양을 구현하므로, 어떤 ASGI middleware든 사용할 수 있습니다.
    
    ASGI 사양을 따르기만 하면, FastAPI나 Starlette를 위해 만들어진 middleware가 아니어도 동작합니다.
    
    일반적으로 ASGI middleware는 첫 번째 인자로 ASGI 앱을 받도록 기대하는 클래스입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. docs/ko/docs/deployment/versions.md

    앱에 테스트를 추가해야 합니다.
    
    **FastAPI**에서는 매우 쉽습니다(Starlette 덕분에). 문서를 확인해 보세요: [테스트](../tutorial/testing.md)
    
    테스트를 갖춘 뒤에는 **FastAPI** 버전을 더 최신 버전으로 업그레이드하고, 테스트를 실행하여 모든 코드가 올바르게 동작하는지 확인하세요.
    
    모든 것이 동작하거나 필요한 변경을 한 뒤 모든 테스트가 통과한다면, `fastapi`를 그 새로운 최신 버전으로 고정할 수 있습니다.
    
    ## Starlette에 대해 { #about-starlette }
    
    `starlette`의 버전은 고정하지 않는 것이 좋습니다.
    
    서로 다른 **FastAPI** 버전은 Starlette의 특정한 더 새로운 버전을 사용하게 됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/using-request-directly.md

    You can read more details about the [`Request` object in the official Starlette documentation site](https://www.starlette.dev/requests/).
    
    /// note | Technical Details
    
    You could also use `from starlette.requests import Request`.
    
    **FastAPI** provides it directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs/ko/docs/how-to/graphql.md

    ## Starlette의 예전 `GraphQLApp` { #older-graphqlapp-from-starlette }
    
    이전 버전의 Starlette에는 [Graphene](https://graphene-python.org/)과 통합하기 위한 `GraphQLApp` 클래스가 포함되어 있었습니다.
    
    이것은 Starlette에서 deprecated 되었지만, 이를 사용하던 코드가 있다면 같은 사용 사례를 다루고 **거의 동일한 인터페이스**를 가진 [starlette-graphene3](https://github.com/ciscorn/starlette-graphene3)로 쉽게 **마이그레이션**할 수 있습니다.
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.1K bytes
    - Click Count (0)
Back to Top