- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 453 for starlette (0.05 seconds)
-
docs/ko/docs/advanced/testing-events.md
테스트에서 `lifespan`을 실행해야 하는 경우, `with` 문과 함께 `TestClient`를 사용할 수 있습니다: {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} ["공식 Starlette 문서 사이트에서 테스트에서 라이프스팬 실행하기."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)에 대한 자세한 내용을 더 읽을 수 있습니다. 더 이상 권장되지 않는 `startup` 및 `shutdown` 이벤트의 경우, 다음과 같이 `TestClient`를 사용할 수 있습니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 741 bytes - Click Count (0) -
docs/zh-hant/docs/advanced/websockets.md
/// ## 更多資訊 { #more-info } 想了解更多選項,請參考 Starlette 的文件: * [`WebSocket` 類別](https://www.starlette.dev/websockets/)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/uk/docs/index.md
**Typer** - молодший брат FastAPI. І його задумано як **FastAPI для CLI**. ⌨️ 🚀 ## Вимоги { #requirements } FastAPI стоїть на плечах гігантів: * [Starlette](https://www.starlette.dev/) для вебчастини. * [Pydantic](https://docs.pydantic.dev/) для частини даних. ## Встановлення { #installation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 29.1K bytes - Click Count (0) -
docs/en/docs/advanced/additional-status-codes.md
/// /// note | Technical Details You could also use `from starlette.responses import JSONResponse`. **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `status`. /// ## OpenAPI and API docs { #openapi-and-api-docs }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
/// /// note | Technical Details You could also use `from starlette.requests import Request`. **FastAPI** provides it as a convenience for you, the developer. But it comes directly from Starlette. /// ### Before and after the `response` { #before-and-after-the-response }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/background-tasks.md
類別 `BackgroundTasks` 直接來自 [`starlette.background`](https://www.starlette.dev/background/)。 它被直接匯入/包含到 FastAPI 中,因此你可以從 `fastapi` 匯入它,並避免不小心從 `starlette.background` 匯入另一個同名的 `BackgroundTask`(結尾沒有 s)。 只使用 `BackgroundTasks`(而非 `BackgroundTask`)時,你就能把它當作路徑操作函式的參數,並讓 **FastAPI** 幫你處理其餘部分,就像直接使用 `Request` 物件一樣。 在 FastAPI 中仍可單獨使用 `BackgroundTask`,但你需要在程式碼中自行建立該物件,並回傳包含它的 Starlette `Response`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/ja/docs/tutorial/middleware.md
ただし、ブラウザのクライアントに表示させたいカスタムヘッダーがある場合は、[CORS (Cross-Origin Resource Sharing)](cors.md) の設定に、[StarletteのCORSドキュメント](https://www.starlette.dev/middleware/#corsmiddleware)に記載されているパラメータ `expose_headers` を使用して、それらを追加する必要があります。 /// /// note | 技術詳細 `from starlette.requests import Request` を使用することもできます。 **FastAPI**は、開発者の便利のためにこれを提供していますが、Starletteから直接きています。 /// ### `response` の前後 { #before-and-after-the-response }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
fastapi/__init__.py
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production""" __version__ = "0.135.3" from starlette import status as status from .applications import FastAPI as FastAPI from .background import BackgroundTasks as BackgroundTasks from .datastructures import UploadFile as UploadFile from .exceptions import HTTPException as HTTPException from .exceptions import WebSocketException as WebSocketException
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:21:01 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/ru/docs/index.md
**Typer** — младший брат FastAPI. И он задуман как **FastAPI для CLI**. ⌨️ 🚀 ## Зависимости { #requirements } FastAPI стоит на плечах гигантов: * [Starlette](https://www.starlette.dev/) для части, связанной с вебом. * [Pydantic](https://docs.pydantic.dev/) для части, связанной с данными. ## Установка { #installation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 30.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/middleware.md
但如果你有自訂標頭並希望瀏覽器端的用戶端能看到它們,你需要在 CORS 設定([CORS(跨來源資源共用)](cors.md))中使用 [Starlette 的 CORS 文件](https://www.starlette.dev/middleware/#corsmiddleware)所記載的參數 `expose_headers` 將它們加入。 /// /// note | 技術細節 你也可以使用 `from starlette.requests import Request`。 **FastAPI** 為了方便開發者而提供了它,但實際上它直接來自 Starlette。 /// ### 在 `response` 之前與之後 { #before-and-after-the-response }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0)