- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 664 for hl (0.03 sec)
-
docs/en/docs/how-to/custom-request-and-route.md
{* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *} If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error: {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *} ## Custom `APIRoute` class in a router { #custom-apiroute-class-in-a-router }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Obter o usuário { #get-the-user } `get_current_user` usará uma função utilitária (falsa) que criamos, que recebe um token como uma `str` e retorna nosso modelo Pydantic `User`: {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## Injetar o usuário atual { #inject-the-current-user }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-params.md
{* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Declare parâmetros de `Header` { #declare-header-parameters } Então declare os paramêtros de cabeçalho usando a mesma estrutura que em `Path`, `Query` e `Cookie`. O primeiro valor é o valor padrão, você pode passar todas as validações adicionais ou parâmetros de anotação: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *} /// note | Detalhes TécnicosRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *} El valor generado es lo que se inyecta en *path operations* y otras dependencias: {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *} El código posterior a la declaración `yield` se ejecuta después del response: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | Consejo Puedes usar funciones `async` o regulares.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.7K bytes - Viewed (0) -
docs/de/docs/tutorial/handling-errors.md
### `HTTPException` importieren { #import-httpexception } {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *} ### Eine `HTTPException` in Ihrem Code auslösen { #raise-an-httpexception-in-your-code } `HTTPException` ist eine normale Python-Exception mit zusätzlichen Daten, die für APIs relevant sind.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.4K bytes - Viewed (0) -
docs/es/docs/tutorial/body-multiple-params.md
Y también puedes declarar parámetros del cuerpo como opcionales, estableciendo el valor por defecto a `None`: {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *} /// note | Nota Ten en cuenta que, en este caso, el `item` que se tomaría del cuerpo es opcional. Ya que tiene un valor por defecto de `None`. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 5.2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
Import `File` and `UploadFile` from `fastapi`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *} ## Define `File` Parameters { #define-file-parameters } Create file parameters the same way you would for `Body` or `Form`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *} /// info `File` is a class that inherits directly from `Form`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-files.md
Importe `File` e `UploadFile` de `fastapi`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *} ## Definir Parâmetros `File` { #define-file-parameters } Crie parâmetros de arquivo da mesma forma que você faria para `Body` ou `Form`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *} /// info | Informação `File` é uma classe que herda diretamente de `Form`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
It includes these default configurations: {* ../../fastapi/openapi/docs.py ln[9:24] hl[18:24] *} You can override any of them by setting a different value in the argument `swagger_ui_parameters`. For example, to disable `deepLinking` you could pass these settings to `swagger_ui_parameters`: {* ../../docs_src/configure_swagger_ui/tutorial003_py39.py hl[3] *} ## Other Swagger UI Parameters { #other-swagger-ui-parameters }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/header-params.md
{* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Объявление параметров `Header` { #declare-header-parameters } Затем объявите параметры заголовка, используя ту же структуру, что и с `Path`, `Query` и `Cookie`. Первое значение является значением по умолчанию, вы можете передать все дополнительные параметры валидации или аннотации: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *} /// note | Технические деталиRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 5K bytes - Viewed (0)