Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Enum (0.12 sec)

  1. docs/em/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### 🔖 ⏮️ 🔢
    
    🚥 👆 ✔️ 🦏 🈸, 👆 5️⃣📆 🔚 🆙 📈 **📚 🔖**, &amp; 👆 🔜 💚 ⚒ 💭 👆 🕧 ⚙️ **🎏 🔖** 🔗 *➡ 🛠️*.
    
    👫 💼, ⚫️ 💪 ⚒ 🔑 🏪 🔖 `Enum`.
    
    **FastAPI** 🐕‍🦺 👈 🎏 🌌 ⏮️ ✅ 🎻:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    ## 📄 &amp; 📛
    
    👆 💪 🚮 `summary` &amp; `description`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/path-operation-configuration.md

    Wenn Sie eine große Anwendung haben, können sich am Ende **viele Tags** anhäufen, und Sie möchten sicherstellen, dass Sie für verwandte *Pfadoperationen* immer den **gleichen Tag** nehmen.
    
    In diesem Fall macht es Sinn, die Tags in einem `Enum` zu speichern.
    
    **FastAPI** unterstützt diese genauso wie einfache Strings:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/path-operation-configuration.md

    В этих случаях, имеет смысл хранить теги в классе `Enum`.
    
    **FastAPI** поддерживает это так же, как и в случае с обычными строками:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-operation-configuration.md

    Nestes casos, pode fazer sentido armazenar as tags em um `Enum`.
    
    **FastAPI** suporta isso da mesma maneira que com strings simples:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    ## Resumo e descrição
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-operation-configuration.md

    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    ## Summary and description
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top