Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 682 for python3 (0.05 sec)

  1. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    /// tip | 豆知識
    
    `app.openapi()` を手動でコールする場合、その前に`operationId`を更新する必要があります。
    
    ///
    
    /// warning | 注意
    
    この方法をとる場合、各 *path operation関数* が一意な名前である必要があります。
    
    それらが異なるモジュール (Pythonファイル) にあるとしてもです。
    
    ///
    
    ## OpenAPIから除外する
    
    生成されるOpenAPIスキーマ (つまり、自動ドキュメント生成の仕組み) から *path operation* を除外するには、 `include_in_schema` パラメータを `False` にします。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/async-tests.md

    `TestClient`는 pytest 표준을 사용하여 비동기 FastAPI 애플리케이션을 일반적인 `def` 테스트 함수 내에서 호출할 수 있도록 내부에서 마술을 부립니다. 하지만 이 마술은 비동기 함수 내부에서 사용할 때는 더 이상 작동하지 않습니다. 테스트를 비동기로 실행하면, 더 이상 테스트 함수 내부에서 `TestClient`를 사용할 수 없습니다.
    
    `TestClient`는 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>를 기반으로 하고 있으며, 다행히 이를 직접 사용하여 API를 테스트할 수 있습니다.
    
    ## 예시
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:03:16 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    ## Recap, step by step { #recap-step-by-step }
    
    ### Step 1: import `FastAPI` { #step-1-import-fastapi }
    
    {* ../../docs_src/first_steps/tutorial001.py hl[1] *}
    
    `FastAPI` is a Python class that provides all the functionality for your API.
    
    /// note | Technical Details
    
    `FastAPI` is a class that inherits directly from `Starlette`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/security/oauth2-jwt.md

    ## Instalar `PyJWT`
    
    Necesitamos instalar `PyJWT` para generar y verificar los tokens JWT en Python.
    
    Asegúrate de crear un [entorno virtual](../../virtual-environments.md){.internal-link target=_blank}, activarlo y luego instalar `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/additional-responses.md

    📚 💼, 👆 💪 ⚙️ 🐍 ⚒ "🏗" `dict` ⏮️ `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    📥, `new_dict` 🔜 🔌 🌐 🔑-💲 👫 ⚪️➡️ `old_dict` ➕ 🆕 🔑-💲 👫:
    
    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/query-params.md

    * `skip` : avec une valeur de`0`
    * `limit` : avec une valeur de `10`
    
    Faisant partie de l'URL, ces valeurs sont des chaînes de caractères (`str`).
    
    Mais quand on les déclare avec des types Python (dans l'exemple précédent, en tant qu'`int`), elles sont converties dans les types renseignés.
    
    Toutes les fonctionnalités qui s'appliquent aux paramètres de chemin s'appliquent aussi aux paramètres de requête :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    /// warning
    
    If you do this, you have to make sure each one of your *path operation functions* has a unique name.
    
    Even if they are in different modules (Python files).
    
    ///
    
    ## Exclude from OpenAPI { #exclude-from-openapi }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. docs/lambda/README.md

    ## Example Lambda handler
    
    Install the necessary dependencies.
    ```sh
    pip install flask requests
    ```
    
    Following is an example lambda handler.
    ```py
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    **🔑 👨‍💼** 🐍 🕳 👈 👆 💪 ⚙️ `with` 📄, 🖼, `open()` 💪 ⚙️ 🔑 👨‍💼:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    ⏮️ ⏬ 🐍, 📤 **🔁 🔑 👨‍💼**. 👆 🔜 ⚙️ ⚫️ ⏮️ `async with`:
    
    ```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
    - 6K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/response-model.md

    #### 📊 ⏮️ 💲 🏑 ⏮️ 🔢
    
    ✋️ 🚥 👆 📊 ✔️ 💲 🏷 🏑 ⏮️ 🔢 💲, 💖 🏬 ⏮️ 🆔 `bar`:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    👫 🔜 🔌 📨.
    
    #### 📊 ⏮️ 🎏 💲 🔢
    
    🚥 📊 ✔️ 🎏 💲 🔢 🕐, 💖 🏬 ⏮️ 🆔 `baz`:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
        "description": None,
        "price": 50.2,
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top