- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 821 for Encoded (0.05 seconds)
-
docs/fr/docs/tutorial/encoder.md
# Encodeur compatible JSON { #json-compatible-encoder } Il existe des cas où vous pourriez avoir besoin de convertir un type de données (comme un modèle Pydantic) en quelque chose de compatible avec JSON (comme un `dict`, `list`, etc.). Par exemple, si vous devez le stocker dans une base de données. Pour cela, **FastAPI** fournit une fonction `jsonable_encoder()`. ## Utiliser `jsonable_encoder` { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/uk/docs/tutorial/encoder.md
# JSON-сумісний кодувальник { #json-compatible-encoder } Існують випадки, коли вам може знадобитися перетворити тип даних (наприклад, модель Pydantic) на щось сумісне з JSON (наприклад, `dict`, `list` тощо). Наприклад, якщо вам потрібно зберегти це в базі даних. Для цього **FastAPI** надає функцію `jsonable_encoder()`. ## Використання `jsonable_encoder` { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/encoder.md
# JSON互換エンコーダ { #json-compatible-encoder } データ型(Pydanticモデルのような)をJSONと互換性のあるもの(`dict`や`list`など)に変換する必要があるケースがあります。 例えば、データベースに保存する必要がある場合です。 そのために、**FastAPI** は`jsonable_encoder()`関数を提供しています。 ## `jsonable_encoder`の使用 { #using-the-jsonable-encoder } JSON互換のデータのみを受信するデータベース`fake_db`があるとしましょう。 例えば、`datetime`オブジェクトはJSONと互換性がないので、受け取られません。 そのため、`datetime`オブジェクトは[ISO形式](https://en.wikipedia.org/wiki/ISO_8601)のデータを含む`str`に変換されなければなりません。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/de/docs/tutorial/encoder.md
# JSON-kompatibler Encoder { #json-compatible-encoder } Es gibt Fälle, da möchten Sie einen Datentyp (etwa ein Pydantic-Modell) in etwas konvertieren, das kompatibel mit JSON ist (etwa ein `dict`, eine `list`, usw.). Zum Beispiel, wenn Sie es in einer Datenbank speichern möchten. Dafür bietet **FastAPI** eine Funktion `jsonable_encoder()`. ## `jsonable_encoder` verwenden { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/encoder.md
# JSON-совместимый кодировщик { #json-compatible-encoder } В некоторых случаях может потребоваться преобразование типа данных (например, Pydantic-модели) в тип, совместимый с JSON (например, `dict`, `list` и т.д.). Например, если необходимо хранить его в базе данных. Для этого **FastAPI** предоставляет функцию `jsonable_encoder()`. ## Использование `jsonable_encoder` { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/es/docs/tutorial/encoder.md
# Codificador compatible con JSON { #json-compatible-encoder } Hay algunos casos en los que podrías necesitar convertir un tipo de dato (como un modelo de Pydantic) a algo compatible con JSON (como un `dict`, `list`, etc). Por ejemplo, si necesitas almacenarlo en una base de datos. Para eso, **FastAPI** proporciona una función `jsonable_encoder()`. ## Usando el `jsonable_encoder` { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 1.7K bytes - Click Count (0) -
cmd/erasure-encode.go
return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers)) } // Encode reads from the reader, erasure-encodes the data and writes to the writers. func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) { writer := &multiWriter{ writers: writers, writeQuorum: quorum,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
RELEASE.md
* Added **categorical data** processing layers: * `IntegerLookup` & `StringLookup`: build an index of categorical feature values * `CategoryEncoding`: turn integer-encoded categories into one-hot, multi-hot, or tf-idf encoded representations * `CategoryCrossing`: create new categorical features representing co-occurrences of previous categorical feature valuesCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
docs/pt/docs/tutorial/encoder.md
# Codificador Compatível com JSON { #json-compatible-encoder } 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` { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/encoder.md
# JSON 相容編碼器 { #json-compatible-encoder } 在某些情況下,你可能需要將某種資料型別(例如 Pydantic 模型)轉換為與 JSON 相容的類型(例如 `dict`、`list` 等)。 例如,當你需要把它儲存在資料庫中。 為此,**FastAPI** 提供了 `jsonable_encoder()` 函式。 ## 使用 `jsonable_encoder` { #using-the-jsonable-encoder } 想像你有一個只接受與 JSON 相容資料的資料庫 `fake_db`。 例如,它不接受 `datetime` 物件,因為那與 JSON 不相容。 因此,必須將 `datetime` 物件轉為一個以 [ISO 格式](https://en.wikipedia.org/wiki/ISO_8601) 表示資料的 `str`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.5K bytes - Click Count (0)