Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 680 for Pythons (1.03 sec)

  1. docs/ja/docs/tutorial/testing.md

    テストでも同じことを行います。
    
    例えば:
    
    * *パス* または *クエリ* パラメータを渡すには、それをURL自体に追加します。
    * JSONボディを渡すには、Pythonオブジェクト (例: `dict`) を `json` パラメータに渡します。
    * JSONの代わりに *フォームデータ* を送信する必要がある場合は、代わりに `data` パラメータを使用してください。
    * *ヘッダー* を渡すには、`headers` パラメータに `dict` を渡します。
    * *cookies* の場合、 `cookies` パラメータに `dict` です。
    
    (`httpx` または `TestClient` を使用して) バックエンドにデータを渡す方法の詳細は、<a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPXのドキュメント</a>を確認してください。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/events.md

    Ein **Kontextmanager** in Python ist etwas, das Sie in einer `with`-Anweisung verwenden können, zum Beispiel kann `open()` als Kontextmanager verwendet werden:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    In neueren Versionen von Python gibt es auch einen **asynchronen Kontextmanager**. Sie würden ihn mit `async with` verwenden:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/body-nested-models.md

    * 🚥 👆 🐍 ⏬ 🔅 🌘 3️⃣.9️⃣, 🗄 👫 🌓 ⏬ ⚪️➡️ `typing` 🕹
    * 🚶‍♀️ 🔗 🆎(Ⓜ) "🆎 🔢" ⚙️ ⬜ 🗜: `[` &amp; `]`
    
    🐍 3️⃣.9️⃣ ⚫️ 🔜:
    
    ```Python
    my_list: list[str]
    ```
    
    ⏬ 🐍 ⏭ 3️⃣.9️⃣, ⚫️ 🔜:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    👈 🌐 🐩 🐍 ❕ 🆎 📄.
    
    ⚙️ 👈 🎏 🐩 ❕ 🏷 🔢 ⏮️ 🔗 🆎.
    
    , 👆 🖼, 👥 💪 ⚒ `tags` 🎯 "📇 🎻":
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    /// tip | 팁
    
    각 의존성마다 `yield`는 한 번만 사용해야 합니다.
    
    ///
    
    /// note | 기술 세부사항
    
    다음과 함께 사용할 수 있는 모든 함수:
    
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> 또는
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. docs/tr/docs/tutorial/request-forms.md

    /// info | Bilgi
    
    Formları kullanmak için öncelikle <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a> paketini indirmeniz gerekmektedir.
    
    Örneğin `pip install python-multipart`.
    
    ///
    
    ## `Form` Sınıfını Projenize Dahil Edin
    
    `Form` sınıfını `fastapi`'den projenize dahil edin:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. docs/ja/docs/async.md

    結果を返す前に待機する必要があり、これらの新しいPython機能をサポートする操作がある場合は、次のようにコーディングできます。
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    カギは `await` です。結果を `burgers`に保存する前に、`get_burgers(2)`の処理🕙の完了を待つ⏸必要があることをPythonに伝えます。これでPythonは、その間に (別のリクエストを受信するなど) 何か他のことができる🔀⏯ことを知ります。
    
    `await` が機能するためには、非同期処理をサポートする関数内にある必要があります。これは、`async def` で関数を宣言するだけでよいです:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # ハンバーガーを作成するために非同期処理を実行
        return burgers
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-form-models.md

    /// info
    
    To use forms, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/header-params.md

    ほとんどの標準ヘッダーは、「マイナス記号」(`-`)としても知られる「ハイフン」で区切られています。
    
    しかし、`user-agent`のような変数はPythonでは無効です。
    
    そのため、デフォルトでは、`Header`はパラメータの文字をアンダースコア(`_`)からハイフン(`-`)に変換して、ヘッダーを抽出して文書化します。
    
    また、HTTPヘッダは大文字小文字を区別しないので、Pythonの標準スタイル(別名「スネークケース」)で宣言することができます。
    
    そのため、`User_Agent`などのように最初の文字を大文字にする必要はなく、通常のPythonコードと同じように`user_agent`を使用することができます。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. docs/em/docs/deployment/docker.md

    * ⏮️ ☁ 🐝 📳 🌑
    * ⏮️ ➕1️⃣ 🧰 💖 🖖
    * ⏮️ ☁ 🐕‍🦺 👈 ✊ 👆 📦 🖼 &amp; 🛠️ ⚫️
    
    ## ☁ 🖼 ⏮️ 🎶
    
    🚥 👆 ⚙️ <a href="https://python-poetry.org/" class="external-link" target="_blank">🎶</a> 🛠️ 👆 🏗 🔗, 👆 💪 ⚙️ ☁ 👁-▶️ 🏗:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9 as requirements-stage
    
    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Erstellen Sie Ihr Datenmodell
    
    Dann deklarieren Sie Ihr Datenmodell als eine Klasse, die von `BaseModel` erbt.
    
    Verwenden Sie Standard-Python-Typen für die Klassenattribute:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top