- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 411 for tutorial001_py310 (0.28 seconds)
-
docs/en/docs/advanced/path-operation-advanced-configuration.md
It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest. {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *} ## Additional Responses { #additional-responses } You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
## Use `HTTPException` { #use-httpexception } To return HTTP responses with errors to the client you use `HTTPException`. ### Import `HTTPException` { #import-httpexception } {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *} ### Raise an `HTTPException` in your code { #raise-an-httpexception-in-your-code } `HTTPException` is a normal Python exception with additional data relevant for APIs.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
docs/pt/docs/advanced/templates.md
{* ../../docs_src/templates/tutorial001_py39.py hl[4,11,15:18] *} /// note | Nota Antes do FastAPI 0.108.0, Starlette 0.29.0, `name` era o primeiro parâmetro.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/ru/docs/tutorial/body-multiple-params.md
"description": "The pretender", "price": 42.0, "tax": 3.2 } ``` Но вы также можете объявить множество параметров тела запроса, например `item` и `user`: {* ../../docs_src/body_multiple_params/tutorial002_py310.py hl[20] *} В этом случае **FastAPI** заметит, что в функции есть более одного параметра тела (два параметра, которые являются Pydantic-моделями).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 8.3K bytes - Click Count (0) -
docs/de/docs/advanced/openapi-webhooks.md
{* ../../docs_src/openapi_webhooks/tutorial001_py39.py hl[9:13,36:53] *} Die von Ihnen definierten Webhooks landen im **OpenAPI**-Schema und der automatischen **Dokumentations-Oberfläche**. /// info | InfoCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/pt/docs/how-to/graphql.md
Aqui está uma pequena prévia de como você poderia integrar Strawberry com FastAPI: {* ../../docs_src/graphql_/tutorial001_py39.py hl[3,22,25] *} Você pode aprender mais sobre Strawberry na <a href="https://strawberry.rocks/" class="external-link" target="_blank">documentação do Strawberry</a>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/de/docs/advanced/templates.md
{* ../../docs_src/templates/tutorial001_py39.py hl[4,11,15:18] *} /// note | Hinweis Vor FastAPI 0.108.0 und Starlette 0.29.0 war `name` der erste Parameter.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/ru/docs/advanced/middleware.md
Гарантирует, что все входящие запросы должны использовать либо `https`, либо `wss`. Любой входящий запрос по `http` или `ws` будет перенаправлен на безопасную схему. {* ../../docs_src/advanced_middleware/tutorial001_py39.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware } Гарантирует, что во всех входящих запросах корректно установлен `Host`‑заголовок, чтобы защититься от атак на HTTP‑заголовок Host.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.6K bytes - Click Count (0) -
docs/fr/docs/tutorial/body-multiple-params.md
"price": 42.0, "tax": 3.2 } ``` Mais vous pouvez également déclarer plusieurs paramètres provenant de body, par exemple `item` et `user` simultanément : {* ../../docs_src/body_multiple_params/tutorial002_py310.py hl[20] *} Dans ce cas, **FastAPI** détectera qu'il y a plus d'un paramètre dans le body (chacun correspondant à un modèle Pydantic).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 11:10:17 GMT 2024 - 5.6K bytes - Click Count (0) -
docs/zh/docs/python-types.md
每个属性都拥有类型。 接着你用一些值来创建这个类的实例,这些值会被校验,并被转换为适当的类型(在需要的情况下),返回一个包含所有数据的对象。 然后,你将获得这个对象的所有编辑器支持。 下面的例子来自 Pydantic 官方文档: //// tab | Python 3.10+ ```Python {!> ../../docs_src/python_types/tutorial011_py310.py!} ``` //// //// tab | Python 3.9+ ```Python {!> ../../docs_src/python_types/tutorial011_py39.py!} ``` //// //// tab | Python 3.8+ ```PythonCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Aug 18 06:34:40 GMT 2025 - 8.6K bytes - Click Count (0)