- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 645 for Pythons (0.04 sec)
-
docs/en/docs/tutorial/response-model.md
Here we are declaring a `UserIn` model, it will contain a plaintext password: {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *} /// info To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>. Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *} /// info | Informação Para usar `EmailStr`, primeiro instale <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>. Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ative-o e instale-o, por exemplo: ```consoleRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
### Вызовите `HTTPException` в своем коде { #raise-an-httpexception-in-your-code } `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API. Поскольку это исключение Python, то его не `возвращают`, а `вызывают`.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/ru/docs/advanced/advanced-dependencies.md
Но при этом мы хотим иметь возможность параметризовать это фиксированное содержимое. ## «Вызываемый» экземпляр { #a-callable-instance } В Python есть способ сделать экземпляр класса «вызываемым» объектом. Не сам класс (он уже является вызываемым), а экземпляр этого класса. Для этого объявляем метод `__call__`:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 21:25:03 UTC 2025 - 14.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/handling-errors.md
### Імпорт `HTTPException` {* ../../docs_src/handling_errors/tutorial001.py hl[1] *} ### Використання `HTTPException` у коді `HTTPException` — це звичайна помилка Python із додатковими даними, які стосуються API. Оскільки це помилка Python, Ви не `повертаєте` його, а `генеруєте` (генеруєте помилку).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 13.9K bytes - Viewed (0) -
docs/en/docs/reference/templating.md
Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 365 bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.5K bytes - Viewed (1) -
docs/es/docs/tutorial/middleware.md
{* ../../docs_src/middleware/tutorial001_py39.py hl[10,12:13] *} /// tip | Consejo Aquí usamos <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> en lugar de `time.time()` porque puede ser más preciso para estos casos de uso. 🤓 ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/en/docs/reference/uploadfile.md
# `UploadFile` class You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request. You can import it directly from `fastapi`: ```python from fastapi import UploadFile ``` ::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - readRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 472 bytes - Viewed (0) -
fastapi/dependencies/utils.py
from typing_extensions import Literal, get_args, get_origin multipart_not_installed_error = ( 'Form data requires "python-multipart" to be installed. \n' 'You can install "python-multipart" with: \n\n' "pip install python-multipart\n" ) multipart_incorrect_install_error = ( 'Form data requires "python-multipart" to be installed. ' 'It seems you installed "multipart" instead. \n' 'You can remove "multipart" with: \n\n'Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 37.6K bytes - Viewed (3)