Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 453 for starlette (0.05 seconds)

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

    /// note | Détails techniques
    
    Vous pouvez également utiliser `from starlette import status`.
    
    **FastAPI** fournit le même `starlette.status` sous le nom `fastapi.status` pour votre commodité, en tant que développeur. Mais cela provient directement de Starlette.
    
    ///
    
    ## Ajouter des tags { #tags }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/response-directly.md

    /// note | Detalhes Técnicos
    
    Você também pode utilizar `from starlette.responses import JSONResponse`.
    
    **FastAPI** utiliza a mesma `starlette.responses` como `fastapi.responses` apenas como uma conveniência para você, desenvolvedor. Mas maior parte das respostas disponíveis vem diretamente do Starlette.
    
    ///
    
    ## Retornando uma `Response` personalizada { #returning-a-custom-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/request-files.md

    /// note | `async` Teknik Detaylar
    
    `async` method’ları kullandığınızda, **FastAPI** dosya method’larını bir threadpool içinde çalıştırır ve bunları await eder.
    
    ///
    
    /// note | Starlette Teknik Detaylar
    
    **FastAPI**’nin `UploadFile`’ı doğrudan **Starlette**’in `UploadFile`’ından türetilmiştir; ancak **Pydantic** ve FastAPI’nin diğer parçalarıyla uyumlu olması için bazı gerekli eklemeler yapar.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image02.png">
    
    /// note | Detalhes Técnicos
    
    Você também pode 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 da Starlette.
    
    ///
    
    ## Alterando o padrão { #changing-the-default }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    该状态码会用于响应中,并会被添加到 OpenAPI 概图。
    
    /// note | 技术细节
    
    也可以使用 `from starlette import status` 导入状态码。
    
    **FastAPI** 提供的 `fastapi.status` 与 `starlette.status` 相同,方便你作为开发者使用。实际上它直接来自 Starlette。
    
    ///
    
    ## 标签 { #tags }
    
    可以通过传入由 `str` 组成的 `list`(通常只有一个 `str`)的参数 `tags`,为*路径操作*添加标签:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/response-directly.md

    对于这些情况,在将数据传递给响应之前,你可以使用 `jsonable_encoder` 来转换你的数据:
    
    {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
    
    /// note | 技术细节
    
    你也可以使用 `from starlette.responses import JSONResponse`。
    
    出于方便,**FastAPI** 会提供与 `starlette.responses` 相同的 `fastapi.responses` 给开发者。但是大多数可用的响应都直接来自 Starlette。
    
    ///
    
    ## 返回自定义 `Response` { #returning-a-custom-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/testing-websockets.md

    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Hinweis
    
    Weitere Informationen finden Sie in Starlettes Dokumentation zum [Testen von WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 471 bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/response-directly.md

    在這些情況下,你可以先用 `jsonable_encoder` 把資料轉好,再傳給回應物件:
    
    {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
    
    /// note | 技術細節
    
    你也可以使用 `from starlette.responses import JSONResponse`。
    
    **FastAPI** 為了方便開發者,將 `starlette.responses` 也提供為 `fastapi.responses`。但大多數可用的回應類型其實直接來自 Starlette。
    
    ///
    
    ## 回傳自訂 `Response` { #returning-a-custom-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/response-status-code.md

    这只是一种快捷方式,具有相同的数字代码,但它可以使用编辑器的自动补全功能:
    
    <img src="/img/tutorial/response-status-code/image02.png">
    
    /// note | 技术细节
    
    也可以使用 `from starlette import status`。
    
    为了让开发者更方便,**FastAPI** 提供了与 `starlette.status` 完全相同的 `fastapi.status`。但它直接来自于 Starlette。
    
    ///
    
    ## 更改默认状态码 { #changing-the-default }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/testing-websockets.md

    같은 `TestClient`를 사용하여 WebSocket을 테스트할 수 있습니다.
    
    이를 위해 `with` 문에서 `TestClient`를 사용하여 WebSocket에 연결합니다:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note
    
    자세한 내용은 Starlette의 [WebSocket 테스트](https://www.starlette.dev/testclient/#testing-websocket-sessions) 문서를 확인하세요.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 453 bytes
    - Click Count (0)
Back to Top