Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### 🤚 *🔢 💲*
    
    👆 💪 🤚 ☑ 💲 ( `str` 👉 💼) ⚙️ `model_name.value`, ⚖️ 🏢, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip
        👆 💪 🔐 💲 `"lenet"` ⏮️ `ModelName.lenet.value`.
    
    #### 📨 *🔢 👨‍🎓*
    
    👆 💪 📨 *🔢 👨‍🎓* ⚪️➡️ 👆 *➡ 🛠️*, 🐦 🎻 💪 (✅ `dict`).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    ```
    
    #### Obtén el *enumeration value*
    
    Puedes obtener el valor exacto (un `str` en este caso) usando `model_name.value`, o en general, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "Consejo"
        También podrías obtener el valor `"lenet"` con `ModelName.lenet.value`.
    
    #### Devuelve *enumeration members*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/path-params.md

    #### Obtenha o *valor de enumerate*
    
    Você pode ter o valor exato de enumerate (um `str` nesse caso) usando `model_name.value`, ou em geral, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "Dica"
    	Você também poderia acessar o valor `"lenet"` com `ModelName.lenet.value`
    
    #### Retorne *membros de enumeration*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    ### Working with Python *enumerations*
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members*
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/path-params.md

    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### 获取*枚举值*
    
    使用 `model_name.value` 或 `your_enum_member.value` 获取实际的值(本例中为**字符串**):
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "提示"
    
        使用 `ModelName.lenet.value` 也能获取值 `"lenet"`。
    
    #### 返回*枚举元素*
    
    即使嵌套在 JSON 请求体里(例如, `dict`),也可以从*路径操作*返回*枚举元素*。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 05:35:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top