- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 607 for tutorial011_py39 (0.44 sec)
-
docs/es/docs/tutorial/handling-errors.md
## Usa `HTTPException` { #use-httpexception } Para devolver responses HTTP con errores al cliente, usa `HTTPException`. ### Importa `HTTPException` { #import-httpexception } {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *} ### Lanza un `HTTPException` en tu código { #raise-an-httpexception-in-your-code } `HTTPException` es una excepción de Python normal con datos adicionales relevantes para APIs.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/en/docs/python-types.md
You can also declare a class as the type of a variable. Let's say you have a class `Person`, with a name: {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *} Then you can declare a variable to be of type `Person`: {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *} And then, again, you get all the editor support: <img src="/img/python-types/image06.png">Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
Для возврата клиенту HTTP-ответов с ошибками используется `HTTPException`. ### Импортируйте `HTTPException` { #import-httpexception } {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *} ### Вызовите `HTTPException` в своем коде { #raise-an-httpexception-in-your-code } `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.1K 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) -
tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="mod_name", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial003_py39"), pytest.param("tutorial004_py39"), ], ) def get_mod_name(request: pytest.FixtureRequest) -> str: return request.param @pytest.fixture(name="client") def get_client(mod_name: str) -> TestClient:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/ru/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> Но вы можете отключить её, установив `syntaxHighlight` в `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} …и после этого Swagger UI больше не будет показывать подсветку синтаксиса: <img src="/img/tutorial/extending-openapi/image03.png"> ## Изменить тему { #change-the-theme }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/ru/docs/advanced/path-operation-advanced-configuration.md
Нужно убедиться, что он уникален для каждой операции. {* ../../docs_src/path_operation_advanced_configuration/tutorial001_py39.py hl[6] *} ### Использование имени функции-обработчика пути как operationId { #using-the-path-operation-function-name-as-the-operationid }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> But you can disable it by setting `syntaxHighlight` to `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ...and then Swagger UI won't show the syntax highlighting anymore: <img src="/img/tutorial/extending-openapi/image03.png"> ## Change the Theme { #change-the-theme }
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/es/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> Pero puedes desactivarlo estableciendo `syntaxHighlight` en `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ...y entonces Swagger UI ya no mostrará el resaltado de sintaxis: <img src="/img/tutorial/extending-openapi/image03.png"> ## Cambiar el tema { #change-the-theme }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/pt/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> Mas você pode desabilitá-lo definindo `syntaxHighlight` como `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ...e então o Swagger UI não mostrará mais o destaque de sintaxe: <img src="/img/tutorial/extending-openapi/image03.png"> ## Alterar o tema { #change-the-theme }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.2K bytes - Viewed (0)