Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 169 (0.05 sec)

  1. docs/em/docs/tutorial/path-params.md

    ### ✍ `Enum` 🎓
    
    🗄 `Enum` & ✍ 🎧-🎓 👈 😖 ⚪️➡️ `str` & ⚪️➡️ `Enum`.
    
    😖 ⚪️➡️ `str` 🛠️ 🩺 🔜 💪 💭 👈 💲 🔜 🆎 `string` & 🔜 💪 ✍ ☑.
    
    ⤴️ ✍ 🎓 🔢 ⏮️ 🔧 💲, ❔ 🔜 💪 ☑ 💲:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">🔢 (⚖️ 🔢) 💪 🐍</a> ↩️ ⏬ 3️⃣.4️⃣.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/path-params.md

    Erstellen Sie dann Klassen-Attribute mit festgelegten Werten, welches die erlaubten Werte sein werden:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/path-params.md

    Мы наследуемся от `str`, чтобы документация API могла понять, что значения должны быть типа `string` и отображалась правильно.
    
    Затем создайте атрибуты класса с фиксированными допустимыми значениями:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info | "Дополнительная информация"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    Then create class attributes with fixed values, which will be the available valid values:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/path-params.md

    Luego crea atributos de clase con valores fijos, que serán los valores disponibles válidos:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info | Información
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/path-params.md

    ### `Enum` 클래스 생성
    
    `Enum`을 임포트하고 `str`과 `Enum`을 상속하는 서브 클래스를 만듭니다.
    
    `str`을 상속함으로써 API 문서는 값이 `string` 형이어야 하는 것을 알게 되고 이는 문서에 제대로 표시됩니다.
    
    가능한 값들에 해당하는 고정된 값의 클래스 어트리뷰트들을 만듭니다:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info | "정보"
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">열거형(또는 enums)</a>은 파이썬 버전 3.4 이후로 사용 가능합니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/path-params.md

    ### 创建 `Enum` 类
    
    导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。
    
    通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。
    
    然后,创建包含固定值的类属性,这些固定值是可用的有效值:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info | "说明"
    
    Python 3.4 及之后版本支持<a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">枚举(即 enums)</a>。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/path-params.md

    Assim, crie atributos de classe com valores fixos, que serão os valores válidos disponíveis.
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info | "informação"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. docs/tr/docs/tutorial/path-params.md

    Sonrasında, sınıf içerisinde, mevcut ve geçerli değerler olacak olan sabit değerli özelliklerini oluşturalım:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info | "Bilgi"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/path-params.md

    Créez ensuite des attributs de classe avec des valeurs fixes, qui seront les valeurs autorisées pour cette énumération.
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top