Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 24 (0.15 sec)

  1. docs/ru/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    ## `Union` или `anyOf`
    
    Вы можете определить ответ как `Union` из двух типов. Это означает, что ответ должен соответствовать одному из них.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    ## `Union` or `anyOf`
    
    You can declare a response to be the `Union` of two types, that means, that the response would be any of the two.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  3. docs/pt/docs/tutorial/extra-models.md

    Dessa forma, podemos declarar apenas as diferenças entre os modelos (com `password` em texto claro, com `hashed_password` e sem senha):
    
    === "Python 3.8 and above"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    === "Python 3.10 and above"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/extra-models.md

    🌐 💽 🛠️, 🔬, 🧾, ♒️. 🔜 👷 🛎.
    
    👈 🌌, 👥 💪 📣 🔺 🖖 🏷 (⏮️ 🔢 `password`, ⏮️ `hashed_password` & 🍵 🔐):
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    ## `Union` 或者 `anyOf`
    
    响应可以声明为两种类型的 `Union` 类型,即该响应可以是两种类型中的任意类型。
    
    在 OpenAPI 中可以使用 `anyOf` 定义。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 01:15:53 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    ## `Union`, oder `anyOf`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top