- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 681 for Python (0.06 sec)
-
docs/pt/docs/advanced/dataclasses.md
# Usando Dataclasses FastAPI é construído em cima do **Pydantic**, e eu tenho mostrado como usar modelos Pydantic para declarar requisições e respostas. Mas o FastAPI também suporta o uso de <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> da mesma forma: {* ../../docs_src/dataclasses/tutorial001.py hl[1,7:12,19:20] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/request-forms.md
# フォームデータ JSONの代わりにフィールドを受け取る場合は、`Form`を使用します。 /// info | 情報 フォームを使うためには、まず<a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>をインストールします。 たとえば、`pip install python-multipart`のように。 /// ## `Form`のインポート `fastapi`から`Form`をインポートします: {* ../../docs_src/request_forms/tutorial001.py hl[1] *} ## `Form`のパラメータの定義 `Body`や`Query`の場合と同じようにフォームパラメータを作成します:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/de/docs/project-generation.md
* Vollständige **Docker**-Integration (Docker-basiert). * Docker-Schwarmmodus-Deployment. * **Docker Compose**-Integration und Optimierung für die lokale Entwicklung. * **Produktionsbereit** Python-Webserver, verwendet Uvicorn und Gunicorn. * Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a>-Backend:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
## Ausführen /// info Um hochgeladene Dateien zu empfangen, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>. Z. B. `pip install python-multipart`. Das, weil **OAuth2** „Formulardaten“ zum Senden von `username` und `password` verwendet. /// Führen Sie das Beispiel aus mit:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/index.md
```Python commons: Annotated[dict, Depends(common_parameters)] ``` Но потому что мы используем `Annotated`, мы можем хранить `Annotated` значение в переменной и использовать его в нескольких местах: {* ../../docs_src/dependencies/tutorial001_02_an_py310.py hl[12,16,21] *} /// tip | Подсказка Это стандартный синтаксис python и называется "type alias", это не особенность **FastAPI**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 14.7K bytes - Viewed (1) -
docs/ru/docs/tutorial/security/first-steps.md
{* ../../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** использует "данные формы" для передачи `имени пользователя` и `пароля`. /// Запустите ваш сервер:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jan 06 18:26:39 UTC 2025 - 14.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/encoder.md
이 예시는 Pydantic 모델을 `dict`로, `datetime` 형식을 `str`로 변환합니다. 이렇게 호출한 결과는 파이썬 표준인 <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>로 인코딩 할 수 있습니다. 길이가 긴 문자열 형태의 JSON 형식(문자열)의 데이터가 들어있는 상황에서는 `str`로 반환하지 않습니다. JSON과 모두 호환되는 값과 하위 값이 있는 Python 표준 데이터 구조 (예: `dict`)를 반환합니다. /// note | 참고
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/pt/docs/deployment/docker.md
Por exemplo, há uma <a href="https://hub.docker.com/_/python" class="external-link" target="_blank">Imagem Python</a> oficial. E existe muitas outras imagens para diferentes coisas, como bancos de dados, por exemplo: * <a href="https://hub.docker.com/_/postgres" class="external-link" target="_blank">PostgreSQL</a>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 37.4K bytes - Viewed (0) -
docs/em/docs/features.md
### 🏛 🐍 ⚫️ 🌐 ⚓️ 🔛 🐩 **🐍 3️⃣.6️⃣ 🆎** 📄 (👏 Pydantic). 🙅♂ 🆕 ❕ 💡. 🐩 🏛 🐍. 🚥 👆 💪 2️⃣ ⏲ ↗️ ❔ ⚙️ 🐍 🆎 (🚥 👆 🚫 ⚙️ FastAPI), ✅ 📏 🔰: [🐍 🆎](python-types.md){.internal-link target=_blank}. 👆 ✍ 🐩 🐍 ⏮️ 🆎: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8K bytes - Viewed (0) -
docs/es/docs/advanced/events.md
Un **context manager** en Python es algo que puedes usar en una declaración `with`, por ejemplo, `open()` puede ser usado como un context manager: ```Python with open("file.txt") as file: file.read() ``` En versiones recientes de Python, también hay un **async context manager**. Lo usarías con `async with`: ```Python async with lifespan(app): await do_stuff() ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 8.2K bytes - Viewed (0)