- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 873 for Python (0.12 sec)
-
docs/de/docs/advanced/events.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/em/docs/tutorial/body.md
//// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="4" {!> ../../docs_src/body/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="2" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// ## ✍ 👆 💽 🏷 ⤴️ 👆 📣 👆 💽 🏷 🎓 👈 😖 ⚪️➡️ `BaseModel`. ⚙️ 🐩 🐍 🆎 🌐 🔢: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="7-11"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body.md
Primeiro, você precisa importar `BaseModel` do `pydantic`: ```Python hl_lines="4" {!../../docs_src/body/tutorial001.py!} ``` ## Crie seu modelo de dados Então você declara seu modelo de dados como uma classe que herda `BaseModel`. Utilize os tipos Python padrão para todos os atributos: ```Python hl_lines="7-11" {!../../docs_src/body/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.1K bytes - Viewed (0) -
.github/workflows/test-redistribute.yml
- uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install build dependencies run: pip install build - name: Build source distribution env: TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }} run: python -m build --sdist - name: Decompress source distribution run: |
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 08 23:34:25 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
## `HTTPException`の使用 HTTPレスポンスをエラーでクライアントに返すには、`HTTPException`を使用します。 ### `HTTPException`のインポート ```Python hl_lines="1" {!../../docs_src/handling_errors/tutorial001.py!} ``` ### コード内での`HTTPException`の発生 `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。 Pythonの例外なので、`return`ではなく、`raise`です。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-updates.md
把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。 ```Python hl_lines="30-35" {!../../docs_src/body_updates/tutorial001.py!} ``` `PUT` 用于接收替换现有数据的数据。 ### 关于更新数据的警告 用 `PUT` 把数据项 `bar` 更新为以下内容时: ```Python { "name": "Barz", "price": 3, "description": None, } ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-forms-and-files.md
/// info | "Informação" Para receber arquivos carregados e/ou dados de formulário, primeiro instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. Por exemplo: `pip install python-multipart`. /// ## Importe `File` e `Form` ```Python hl_lines="1" {!../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## Defina parâmetros de `File` e `Form`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
## 出力モデルの追加 代わりに、平文のパスワードを持つ入力モデルと、パスワードを持たない出力モデルを作成することができます: ```Python hl_lines="9 11 16" {!../../docs_src/response_model/tutorial003.py!} ``` ここでは、*path operation関数*がパスワードを含む同じ入力ユーザーを返しているにもかかわらず: ```Python hl_lines="24" {!../../docs_src/response_model/tutorial003.py!} ``` ...`response_model`を`UserOut`と宣言したことで、パスワードが含まれていません: ```Python hl_lines="22" {!../../docs_src/response_model/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
```bash python -c "import pydantic; print(pydantic.version.VERSION)" ``` validations: required: true - type: input id: python-version attributes: label: Python Version description: | What Python version are you using? You can find the Python version with: ```bash python --version
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 03 15:59:41 UTC 2023 - 5.8K bytes - Viewed (0) -
docs/em/docs/advanced/websockets.md
👉, ↗️, 🚫 ⚖ & 👆 🚫🔜 ⚙️ ⚫️ 🏭. 🏭 👆 🔜 ✔️ 1️⃣ 🎛 🔛. ✋️ ⚫️ 🙅 🌌 🎯 🔛 💽-🚄 *️⃣ & ✔️ 👷 🖼: ```Python hl_lines="2 6-38 41-43" {!../../docs_src/websockets/tutorial001.py!} ``` ## ✍ `websocket` 👆 **FastAPI** 🈸, ✍ `websocket`: ```Python hl_lines="1 46-47" {!../../docs_src/websockets/tutorial001.py!} ``` /// note | "📡 ℹ"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.8K bytes - Viewed (0)