- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 915 for trip (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/body-updates.md
* Save the data to your DB. * Return the updated model. {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *} /// tip You can actually use this same technique with an HTTP `PUT` operation. But the example here uses `PATCH` because it was created for these use cases. /// /// noteCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/ja/docs/tutorial/query-param-models.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 16:44:21 GMT 2026 - 2.8K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
`Depends()`로 된 `list`이어야 합니다: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *} 이러한 의존성들은 기존 의존성들과 같은 방식으로 실행/해결됩니다. 그러나 값은 (무엇이든 반환한다면) *경로 처리 함수*에 제공되지 않습니다. /// tip | 팁 일부 편집기에서는 사용되지 않는 함수 매개변수를 검사하고 오류로 표시합니다. *경로 처리 데코레이터*에서 이러한 `dependencies`를 사용하면 편집기/도구 오류를 피하면서도 실행되도록 할 수 있습니다. 또한 코드에서 사용되지 않는 매개변수를 보고 불필요하다고 생각할 수 있는 새로운 개발자의 혼란을 방지하는데 도움이 될 수 있습니다. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-updates.md
* Salvar os dados no seu BD. * Retornar o modelo atualizado. {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *} /// tip | Dica Você pode realmente usar essa mesma técnica com uma operação HTTP `PUT`. Mas o exemplo aqui usa `PATCH` porque foi criado para esses casos de uso. /// /// note | NotaCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-status-code.md
* `500 - 599` são para erros do servidor. Você quase nunca os usa diretamente. Quando algo der errado em alguma parte do código do seu aplicativo ou servidor, ele retornará automaticamente um desses códigos de status. /// tip | Dica
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) -
docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
*路径操作装饰器*支持可选参数 `dependencies`。 该参数的值是由 `Depends()` 组成的 `list`: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *} 路径操作装饰器依赖项的执行或解析方式和普通依赖项一样,但就算这些依赖项会返回值,它们的值也不会传递给*路径操作函数*。 /// tip | 提示 有些编辑器会检查代码中没使用过的函数参数,并显示错误提示。 在*路径操作装饰器*中使用 `dependencies` 参数,可以确保在执行依赖项的同时,避免编辑器/工具报错。 使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。 /// /// info | 信息 本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.8K bytes - Click Count (0) -
docs/pt/docs/advanced/custom-response.md
Isso seria ainda mais importante com streams grandes ou infinitos. /// /// tip | Dica Em vez de retornar uma `StreamingResponse` diretamente, você deveria provavelmente seguir o estilo em [Transmitir Dados](./stream-data.md), é muito mais conveniente e lida com cancelamento nos bastidores para você.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 12K bytes - Click Count (0) -
docs/zh/docs/tutorial/schema-extra-example.md
你可以使用属性 `model_config`,它接收一个 `dict`,详见 [Pydantic 文档:配置](https://docs.pydantic.dev/latest/api/config/)。 你可以设置 `"json_schema_extra"`,其值为一个 `dict`,包含你希望出现在生成 JSON Schema 中的任意附加数据,包括 `examples`。 /// tip | 提示 你也可以用同样的技巧扩展 JSON Schema,添加你自己的自定义额外信息。 例如,你可以用它为前端用户界面添加元数据等。 /// /// info | 信息 OpenAPI 3.1.0(自 FastAPI 0.99.0 起使用)增加了对 `examples` 的支持,它是 JSON Schema 标准的一部分。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.5K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
You could also create a `JSONResponse` directly and return it. /// tip You will normally have much better performance using a [Response Model](../tutorial/response-model.md) than returning a `JSONResponse` directly, as that way it serializes the data using Pydantic, in Rust. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
Notice that we declare the type of `current_user` as the Pydantic model `User`. This will help us inside of the function with all the completion and type checks. /// tip You might remember that request bodies are also declared with Pydantic models. Here **FastAPI** won't get confused because you are using `Depends`. /// /// check
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 4K bytes - Click Count (0)