- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 244 for converters (0.17 sec)
-
android/guava/src/com/google/common/base/CaseFormat.java
} /** * Returns a serializable {@code Converter} that converts strings from this format to {@code * targetFormat}. * * @since 16.0 */ public Converter<String, String> converterTo(CaseFormat targetFormat) { return new StringConverter(this, targetFormat); } private static final class StringConverter extends Converter<String, String> implements Serializable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
# Codificador Compatível com JSON Existem alguns casos em que você pode precisar converter um tipo de dados (como um modelo Pydantic) para algo compatível com JSON (como um `dict`, `list`, etc). Por exemplo, se você precisar armazená-lo em um banco de dados. Para isso, **FastAPI** fornece uma função `jsonable_encoder()`. ## Usando a função `jsonable_encoder`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
return INSTANCE; } private static final long serialVersionUID = 1; } /** * Returns a serializable converter object that converts between strings and integers using {@link * Integer#decode} and {@link Integer#toString()}. The returned converter throws {@link * NumberFormatException} if the input string is invalid. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any * enum constant in the specified enum. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
docs/pt/docs/advanced/response-directly.md
Por exemplo, você não pode colocar um modelo do Pydantic em uma `JSONResponse` sem antes convertê-lo em um `dict` com todos os tipos de dados (como `datetime`, `UUID`, etc) convertidos para tipos compatíveis com JSON. Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta: ```Python hl_lines="6-7 21-22" {!../../docs_src/response_directly/tutorial001.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
ci/official/utilities/convert_msys_paths_to_win_paths.py
# with forward slashes, e.g. 'C:/Program Files', instead of # '/c/Program Files', thus becoming converted simply by virtue of having # been read. converted_vars[var] = value var_str = '\n'.join(f'{k}="{v}"' for k, v in converted_vars.items()) # The string can then be piped into `source`, to re-set the # 'converted' variables. print(var_str) if __name__ == '__main__':
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.14.md
- `watch.Until` now works for long durations. ([#67350](https://github.com/kubernetes/kubernetes/pull/67350), [@tnozicka](https://github.com/tnozicka)) - Added duration metric for CRD webhook converters. ([#74376](https://github.com/kubernetes/kubernetes/pull/74376), [@mbohlool](https://github.com/mbohlool))
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Mon Jun 14 22:06:39 UTC 2021 - 271.5K bytes - Viewed (0) -
docs/es/docs/advanced/response-directly.md
/// tip | Consejo `JSONResponse` en sí misma es una subclase de `Response`. /// Y cuando devuelves una `Response`, **FastAPI** la pasará directamente. No hará ninguna conversión de datos con modelos Pydantic, no convertirá el contenido a ningún tipo, etc. Esto te da mucha flexibilidad. Puedes devolver cualquier tipo de dato, sobrescribir cualquier declaración de datos o validación, etc. ## Usando el `jsonable_encoder` en una `Response`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/nl/docs/python-types.md
``` Het aanroepen van dit programma leidt tot het volgende resultaat: ``` John Doe ``` De functie voert het volgende uit: * Neem een `first_name` en een `last_name` * Converteer de eerste letter van elk naar een hoofdletter met `title()`. `` * <abbr title="Voegt ze samen, als één. Met de inhoud van de een na de ander.">Voeg samen</abbr> met een spatie in het midden. ```Python hl_lines="2"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
} private static final long serialVersionUID = 1; } /** * Returns a serializable converter object that converts between strings and floats using {@link * Float#valueOf} and {@link Float#toString()}. * * @since 16.0 */ public static Converter<String, Float> stringConverter() { return FloatConverter.INSTANCE; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.8K bytes - Viewed (0)