- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 156 for converties (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/pt/docs/tutorial/handling-errors.md
} ``` /// tip | Dica Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`. Você pode passar um `dict` ou um `list`, etc. Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON. /// ## Adicione headers customizados { #add-custom-headers }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/pt/docs/advanced/using-request-directly.md
Embora qualquer outro parâmetro declarado normalmente (o corpo da requisição com um modelo Pydantic, por exemplo) ainda seria validado, convertido, anotado, etc. Mas há situações específicas onde é útil utilizar o objeto `Request`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/Converter.java
* @return the value as an object */ Object getAsObject(String value); /** * Returns {@literal true} if this converter can handle the specified type. * * @param clazz * the type. Must not be {@literal null} * @return {@literal true} if this converter can handle the specified type */ boolean isTarget(Class<?> clazz);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.4K bytes - Click Count (0) -
docs/es/docs/advanced/response-directly.md
Por ejemplo, no puedes poner un modelo de Pydantic en un `JSONResponse` sin primero convertirlo a un `dict` con todos los tipos de datos (como `datetime`, `UUID`, etc.) convertidos a tipos compatibles con JSON. Para esos casos, puedes usar el `jsonable_encoder` para convertir tus datos antes de pasarlos a un response: {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *} /// note | Detalles técnicos
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
} /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
} /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-nested-models.md
Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic. Mas você também não precisa se preocupar com eles, os dicts de entrada são convertidos automaticamente e sua saída é convertida automaticamente para JSON também. ## Corpos de `dict`s arbitrários { #bodies-of-arbitrary-dicts } Você também pode declarar um corpo como um `dict` com chaves de algum tipo e valores de outro tipo.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.3K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
In this case, it's a list of `Item` dataclasses. 6. Here we are returning a dictionary that contains `items` which is a list of dataclasses. FastAPI is still capable of <dfn title="converting the data to a format that can be transmitted">serializing</dfn> the data to JSON. 7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
a `response_class` with a JSON media type (`application/json`), like is the case with the `JSONResponse`, the data you return will be automatically converted (and filtered) with any Pydantic `response_model` that you declared in the *path operation decorator*. But the data won't be serialized to JSON bytes with Pydantic, instead it will be converted with the `jsonable_encoder` and then passed to the `JSONResponse` class, which will serialize it to bytes using the standard JSON library in Python....
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/es/docs/tutorial/handling-errors.md
{ "detail": "Item not found" } ``` /// tip | Consejo Cuando lanzas un `HTTPException`, puedes pasar cualquier valor que pueda convertirse a JSON como el parámetro `detail`, no solo `str`. Podrías pasar un `dict`, un `list`, etc. Son manejados automáticamente por **FastAPI** y convertidos a JSON. /// ## Agrega headers personalizados { #add-custom-headers }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.6K bytes - Click Count (0)