- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for generic (0.13 sec)
-
docs/es/docs/tutorial/path-params.md
```Python hl_lines="17" {!../../../docs_src/path_params/tutorial005.py!} ``` #### 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`.
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) -
docs/en/docs/tutorial/path-params.md
```Python hl_lines="17" {!../../../docs_src/path_params/tutorial005.py!} ``` #### Get the *enumeration value* You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`: ```Python hl_lines="20" {!../../../docs_src/path_params/tutorial005.py!} ``` !!! tip You could also access the value `"lenet"` with `ModelName.lenet.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)