- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 561 for tip (0.69 seconds)
-
docs/pt/docs/advanced/response-directly.md
Pode ser útil para retornar cabeçalhos e cookies personalizados, por exemplo. ## Retornando uma `Response` { #return-a-response } Na verdade, você pode retornar qualquer `Response` ou subclasse dela. /// tip | Dica A própria `JSONResponse` é uma subclasse de `Response`. /// E quando você retorna uma `Response`, o **FastAPI** vai repassá-la diretamente.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/cookie-param-models.md
/// note | Nota Isso é suportado desde a versão `0.115.0` do FastAPI. 🤓 /// /// tip | Dica Essa mesma técnica se aplica para `Query`, `Cookie`, e `Header`. 😎 /// ## Cookies com Modelos Pydantic { #cookies-with-a-pydantic-model }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/es/docs/deployment/concepts.md
Pero en esos casos con errores realmente malos que colapsan el **proceso en ejecución**, querrías un componente externo encargado de **reiniciar** el proceso, al menos un par de veces... /// tip | Consejo
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 20.1K bytes - Click Count (0) -
docs/ja/docs/advanced/index.md
# 高度なユーザーガイド ## さらなる機能 [チュートリアル - ユーザーガイド](../tutorial/index.md){.internal-link target=_blank}により、**FastAPI**の主要な機能は十分に理解できたことでしょう。 以降のセクションでは、チュートリアルでは説明しきれなかったオプションや設定、および機能について説明します。 /// tip | 豆知識 以降のセクションは、 **必ずしも"応用編"ではありません**。 ユースケースによっては、その中から解決策を見つけられるかもしれません。 /// ## 先にチュートリアルを読む [チュートリアル - ユーザーガイド](../tutorial/index.md){.internal-link target=_blank}の知識があれば、**FastAPI**の主要な機能を利用することができます。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 1.5K bytes - Click Count (0) -
docs/en/docs/tutorial/body-fields.md
Remember that when you import `Query`, `Path`, and others from `fastapi`, those are actually functions that return special classes. /// /// tip Notice how each model's attribute with a type, default value and `Field` has the same structure as a *path operation function's* parameter, with `Field` instead of `Path`, `Query` and `Body`. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.3K bytes - Click Count (0) -
docs/en/docs/advanced/using-request-directly.md
{* ../../docs_src/using_request_directly/tutorial001_py39.py hl[1,7:8] *} By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter. /// tip Note that in this case, we are declaring a path parameter beside the request parameter. So, the path parameter will be extracted, validated, converted to the specified type and annotated with OpenAPI.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-param-models.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 27 22:14:10 GMT 2024 - 2K bytes - Click Count (0) -
docs/ko/docs/advanced/using-request-directly.md
이를 위해서는 요청에 직접 접근해야 합니다. {* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *} *경로 작동 함수* 매개변수를 `Request` 타입으로 선언하면 **FastAPI**가 해당 매개변수에 `Request` 객체를 전달하는 것을 알게 됩니다. /// tip | 팁 이 경우, 요청 매개변수와 함께 경로 매개변수를 선언한 것을 볼 수 있습니다. 따라서, 경로 매개변수는 추출되고 검증되며 지정된 타입으로 변환되고 OpenAPI로 주석이 추가됩니다. 이와 같은 방식으로, 다른 매개변수들을 평소처럼 선언하면서, 부가적으로 `Request`도 가져올 수 있습니다. /// ## `Request` 설명서Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/zh/docs/advanced/events.md
{!../../docs_src/events/tutorial003.py!} ``` 在这里,我们在 `yield` 之前将(虚拟的)模型函数放入机器学习模型的字典中,以此模拟加载模型的耗时**启动**操作。这段代码将在应用程序**开始处理请求之前**执行,即**启动**期间。 然后,在 `yield` 之后,我们卸载模型。这段代码将会在应用程序**完成处理请求后**执行,即在**关闭**之前。这可以释放诸如内存或 GPU 之类的资源。 /// tip | 提示 **关闭**事件只会在你停止应用时触发。 可能你需要启动一个新版本,或者你只是你厌倦了运行它。 🤷 /// ## 生命周期函数 首先要注意的是,我们定义了一个带有 `yield` 的异步函数。这与带有 `yield` 的依赖项非常相似。 ```Python hl_lines="14-19"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 7K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
You can discover more SDK generators on <a href="https://openapi.tools/#sdk" class="external-link" target="_blank">OpenAPI.Tools</a>. /// tip FastAPI automatically generates **OpenAPI 3.1** specifications, so any tool you use must support this version. /// ## SDK Generators from FastAPI Sponsors { #sdk-generators-from-fastapi-sponsors }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.1K bytes - Click Count (1)