- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 707 for Python (0.06 sec)
-
docs/ru/docs/tutorial/path-params-numeric-validations.md
* объявить path-параметр `item_id` с помощью `Path` * указать их в другом порядке * не использовать `Annotated` ...то вы можете использовать специальную возможность синтаксиса Python. Передайте `*` в качестве первого параметра функции.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.6K bytes - Viewed (0) -
fastapi/applications.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
把下面的示例代码复制到 `main.py`: {* ../../docs_src/security/tutorial001_an_py39.py *} ## 运行 /// info | 说明 先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。 安装命令: `pip install python-multipart`。 这是因为 **OAuth2** 使用**表单数据**发送 `username` 与 `password`。 /// 用下面的命令运行该示例: <div class="termy"> ```console $ uvicorn main:app --reloadRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7K bytes - Viewed (0) -
fastapi/security/oauth2.py
Read more about it in the [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordRequestForm app = FastAPI() @app.post("/login")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 22K 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/pt/docs/tutorial/dependencies/index.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 10.7K bytes - Viewed (0) -
docs/de/docs/advanced/middleware.md
In der Dokumentation für ASGI-Middlewares von Drittanbietern wird Ihnen wahrscheinlich gesagt, dass Sie etwa Folgendes tun sollen: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/es/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.2K bytes - Viewed (0) -
docs/es/docs/tutorial/response-status-code.md
/// info | Información `status_code` también puede recibir un `IntEnum`, como por ejemplo el <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a> de Python. /// Esto hará: * Devolver ese código de estado en el response.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
{* ../../docs_src/middleware/tutorial001_py39.py hl[10,12:13] *} /// tip | Tipp Hier verwenden wir <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> anstelle von `time.time()`, da es für diese Anwendungsfälle präziser sein kann. 🤓 ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.9K bytes - Viewed (0)