- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Demers (0.15 sec)
-
docs/es/docs/tutorial/path-params.md
{!../../../docs_src/path_params/tutorial005.py!} ``` !!! tip "Consejo" También podrías obtener el valor `"lenet"` con `ModelName.lenet.value`. #### Devuelve *enumeration members* Puedes devolver *enum members* desde tu *operación de path* inclusive en un body de JSON anidado (por ejemplo, un `dict`). Ellos serán convertidos a sus valores correspondientes (strings en este caso) antes de devolverlos al cliente:
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="20" {!../../../docs_src/path_params/tutorial005.py!} ``` !!! tip You could also access the value `"lenet"` with `ModelName.lenet.value`. #### Return *enumeration members* You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`). They will be converted to their corresponding values (strings in this case) before returning them to the client:
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)