Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 794 for py (0.01 sec)

  1. docs/en/docs/tutorial/query-param-models.md

    Declare the **query parameters** that you need in a **Pydantic model**, and then declare the parameter as `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI** will **extract** the data for **each field** from the **query parameters** in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/response-cookies.md

    Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren.
    
    Und dann können Sie Cookies in diesem *vorübergehenden* Response-Objekt setzen.
    
    {* ../../docs_src/response_cookies/tutorial002.py hl[1,8:9] *}
    
    Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/response-cookies.md

    Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota*.
    
    E então você pode definir cookies nesse objeto de resposta *temporário*.
    
    {* ../../docs_src/response_cookies/tutorial002.py hl[1,8:9] *}
    
    Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/response-headers.md

    Então você pode definir os cabeçalhos nesse objeto de resposta *temporário*.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1,7:8] *}
    
    Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/body-fields.md

    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning
    
    Зверніть увагу, що `Field` імпортується прямо з `pydantic`, а не з `fastapi`, як всі інші (`Query`, `Path`, `Body` тощо).
    
    ///
    
    ## Оголошення атрибутів моделі
    
    Ви можете використовувати `Field` з атрибутами моделі:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/body-multiple-params.md

    ## `Path`、`Query`とボディパラメータを混ぜる
    
    まず、もちろん、`Path`と`Query`とリクエストボディのパラメータの宣言は自由に混ぜることができ、 **FastAPI** は何をするべきかを知っています。
    
    また、デフォルトの`None`を設定することで、ボディパラメータをオプションとして宣言することもできます:
    
    {* ../../docs_src/body_multiple_params/tutorial001.py hl[19,20,21] *}
    
    /// note | 備考
    
    この場合、ボディから取得する`item`はオプションであることに注意してください。デフォルト値は`None`です。
    
    ///
    
    ## 複数のボディパラメータ
    
    上述の例では、*path operations*は`item`の属性を持つ以下のようなJSONボディを期待していました:
    
    ```JSON
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. .github/workflows/pylint-presubmit.yml

    # limitations under the License.
    # ==============================================================================
    
    name: PyLint
    on:
      pull_request:
        paths:
          - '**.py'
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: PyLint
        runs-on: ubuntu-latest
        steps:
        - name: Checkout code
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/oauth2-jwt.md

    🔬 Pydantic 🏷 👈 🔜 ⚙️ 🤝 🔗 📨.
    
    ✍ 🚙 🔢 🏗 🆕 🔐 🤝.
    
    {* ../../docs_src/security/tutorial004.py hl[6,12:14,28:30,78:86] *}
    
    ## ℹ 🔗
    
    ℹ `get_current_user` 📨 🎏 🤝 ⏭, ✋️ 👉 🕰, ⚙️ 🥙 🤝.
    
    🔣 📨 🤝, ✔ ⚫️, & 📨 ⏮️ 👩‍💻.
    
    🚥 🤝 ❌, 📨 🇺🇸🔍 ❌ ▶️️ ↖️.
    
    {* ../../docs_src/security/tutorial004.py hl[89:106] *}
    
    ## ℹ `/token` *➡ 🛠️*
    
    ✍ `timedelta` ⏮️ 👔 🕰 🤝.
    
    ✍ 🎰 🥙 🔐 🤝 & 📨 ⚫️.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/background-tasks.md

    ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。
    
    また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## バックグラウンドタスクの追加
    
    *path operations 関数* 内で、`.add_task()` メソッドを使用してタスク関数を *background tasks* オブジェクトに渡します。
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[14] *}
    
    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    * タスク関数に順番に渡す必要のある引数の列 (`email`)。
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/security/first-steps.md

    Lassen Sie uns zunächst einfach den Code verwenden und sehen, wie er funktioniert, und dann kommen wir zurück, um zu verstehen, was passiert.
    
    ## `main.py` erstellen
    
    Kopieren Sie das Beispiel in eine Datei `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## Ausführen
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top