Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for typing (0.52 sec)

  1. docs/de/docs/tutorial/body-nested-models.md

    Aber Python erlaubt es, Listen mit inneren Typen, auch „Typ-Parameter“ genannt, zu deklarieren.
    
    ### `List` von `typing` importieren
    
    In Python 3.9 oder darüber können Sie einfach `list` verwenden, um diese Typannotationen zu deklarieren, wie wir unten sehen werden. 💡
    
    In Python-Versionen vor 3.9 (3.6 und darüber), müssen Sie zuerst `List` von Pythons Standardmodul `typing` importieren.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/extra-models.md

    ## `Union` ⚖️ `anyOf`
    
    👆 💪 📣 📨 `Union` 2️⃣ 🆎, 👈 ⛓, 👈 📨 🔜 🙆 2️⃣.
    
    ⚫️ 🔜 🔬 🗄 ⏮️ `anyOf`.
    
    👈, ⚙️ 🐩 🐍 🆎 🔑 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/extra-models.md

    Das wird in OpenAPI mit `anyOf` angezeigt.
    
    Um das zu tun, verwenden Sie Pythons Standard-Typhinweis <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note | Hinweis
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    It will be defined in OpenAPI with `anyOf`.
    
    To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/body-nested-models.md

    ### Importar `List` de typing
    
    En Python 3.9 y superior, puedes usar el `list` estándar para declarar estas anotaciones de tipo como veremos a continuación. 💡
    
    Pero en versiones de Python anteriores a 3.9 (desde 3.6 en adelante), primero necesitas importar `List` del módulo `typing` estándar de Python:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/extra-models.md

    Isso será definido no OpenAPI com `anyOf`.
    
    Para fazer isso, use a dica de tipo padrão do Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-nested-models.md

    ### Importe `List` do typing
    
    Primeiramente, importe `List` do módulo `typing` que já vem por padrão no Python:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    ### Declare a `List` com um parâmetro de tipo
    
    Para declarar tipos que têm parâmetros de tipo(tipos internos), como `list`, `dict`, `tuple`:
    
    * Importe os do modulo `typing`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/body-nested-models.md

    ✋️ 🐍 ⏬ ⏭ 3️⃣.9️⃣ (3️⃣.6️⃣ &amp; 🔛), 👆 🥇 💪 🗄 `List` ⚪️➡️ 🐩 🐍 `typing` 🕹:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    ### 📣 `list` ⏮️ 🆎 🔢
    
    📣 🆎 👈 ✔️ 🆎 🔢 (🔗 🆎), 💖 `list`, `dict`, `tuple`:
    
    * 🚥 👆 🐍 ⏬ 🔅 🌘 3️⃣.9️⃣, 🗄 👫 🌓 ⏬ ⚪️➡️ `typing` 🕹
    * 🚶‍♀️ 🔗 🆎(Ⓜ) "🆎 🔢" ⚙️ ⬜ 🗜: `[` &amp; `]`
    
    🐍 3️⃣.9️⃣ ⚫️ 🔜:
    
    ```Python
    my_list: list[str]
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/extra-models.md

    두 가지 이상의 타입을 포함하는 `Union`으로 응답을 선언할 수 있습니다. 이는 응답이 그 중 하나의 타입일 수 있음을 의미합니다.
    
    OpenAPI에서는 이를 `anyOf`로 정의합니다.
    
    이를 위해 표준 Python 타입 힌트인 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>을 사용할 수 있습니다:
    
    /// note | 참고
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/extra-models.md

    OpenAPIでは`anyOf`で定義されます。
    
    そのためには、標準的なPythonの型ヒント<a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>を使用します:
    
    {* ../../docs_src/extra_models/tutorial003.py hl[1,14,15,18,19,20,33] *}
    
    ## モデルのリスト
    
    同じように、オブジェクトのリストのレスポンスを宣言することができます。
    
    そのためには、標準のPythonの`typing.List`を使用する:
    
    {* ../../docs_src/extra_models/tutorial004.py hl[1,20] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top