- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 919 for tip (0.01 seconds)
-
docs/en/docs/how-to/custom-request-and-route.md
And an `APIRoute` subclass to use that custom request class. ### Create a custom `GzipRequest` class { #create-a-custom-gziprequest-class } /// tip This is a toy example to demonstrate how it works, if you need Gzip support, you can use the provided [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware). ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/en/docs/advanced/index.md
The main [Tutorial - User Guide](../tutorial/index.md) should be enough to give you a tour through all the main features of **FastAPI**. In the next sections you will see other options, configurations, and additional features. /// tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. /// ## Read the Tutorial first { #read-the-tutorial-first }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 757 bytes - Click Count (0) -
docs/ja/docs/tutorial/stream-json-lines.md
とはいえ、通常は気にする必要はありません。自動で処理されますので、読み進めてください。🤓 /// ## ユースケース { #use-cases } これは **AI LLM** サービス、**ログ**や**テレメトリ**、あるいは **JSON** アイテムとして構造化できる他の種類のデータをストリームするのに使えます。 /// tip | 豆知識 動画や音声などのバイナリデータをストリームしたい場合は、上級ガイドを参照してください: [データのストリーム](../advanced/stream-data.md)。 /// ## FastAPI で JSON Lines をストリームする { #stream-json-lines-with-fastapi }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/server-sent-events.md
다음과 같습니다: ``` data: {"name": "Portal Gun", "price": 999.99} data: {"name": "Plumbus", "price": 32.99} ``` SSE는 AI 채팅 스트리밍, 실시간 알림, 로그와 관측성, 그리고 서버가 클라이언트로 업데이트를 푸시하는 여러 경우에 흔히 사용됩니다. /// tip | 팁 비디오나 오디오처럼 바이너리 데이터를 스트리밍하려면 고급 가이드: [데이터 스트리밍](../advanced/stream-data.md)을 확인하세요. /// ## FastAPI로 SSE 스트리밍 { #stream-sse-with-fastapi }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:56:39 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/path-operation-advanced-configuration.md
如果你想用 API 的函式名稱作為 `operationId`,你可以遍歷所有路徑,並使用各自的 `APIRoute.name` 覆寫每個*路徑操作*的 `operation_id`。 應在加入所有*路徑操作*之後再這麼做。 {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *} /// tip 如果你會手動呼叫 `app.openapi()`,請務必先更新所有 `operationId` 再呼叫。 /// /// warning 如果你這樣做,必須確保每個*路徑操作函式*都有唯一的名稱, 即使它們位於不同的模組(Python 檔案)中。 /// ## 從 OpenAPI 排除 { #exclude-from-openapi }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/path-params-numeric-validations.md
/// note | 참고 경로 매개변수는 경로의 일부여야 하므로 언제나 필수입니다. `None`으로 선언하거나 기본값을 지정하더라도 아무 영향이 없으며, 항상 필수입니다. /// ## 필요한 대로 매개변수 정렬하기 { #order-the-parameters-as-you-need } /// tip | 팁 `Annotated`를 사용한다면 이것은 아마 그렇게 중요하지 않거나 필요하지 않을 수 있습니다. /// `str` 형인 쿼리 매개변수 `q`를 필수로 선언하고 싶다고 해봅시다. 해당 매개변수에 대해 아무런 선언을 할 필요가 없으므로 `Query`를 정말로 써야 할 필요는 없습니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params.md
导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。 通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。 然后,创建包含固定值的类属性,这些固定值是可用的有效值: {* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *} /// tip | 提示 **AlexNet**、**ResNet**、**LeNet** 是机器学习<dfn title="技术上来说是深度学习模型架构">模型</dfn>的名字。 /// ### 声明路径参数 { #declare-a-path-parameter } 使用 Enum 类(`ModelName`)创建使用类型注解的路径参数:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.6K bytes - Click Count (0) -
docs/zh-hant/llm-prompt.md
### `///` admonitions 1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.). 2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK. 3) If a generic title is present, prefer these canonical titles: - `/// note | 注意` Notes:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Dec 29 18:54:20 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
FastAPI will use this `response_model` to do all the data documentation, validation, etc. and also to **convert and filter the output data** to its type declaration. /// tip If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/en/docs/advanced/vibe.md
* **No code reviews**: There's no code to review. No PRs to approve. No comments to address. Embrace vibe coding fully, replace the theater of approving and merging vibe coded PRs that no one looks at with full proper vibes only. /// tip This is the ultimate **vibe-driven development** experience. You don't need to think about what your API does, just let the LLM handle it. 🧘 /// ## Try It { #try-it } Go ahead, try it:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 2K bytes - Click Count (0)