- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 589 for encodeId (0.07 sec)
-
docs/ja/docs/tutorial/encoder.md
同様に、このデータベースはPydanticモデル(属性を持つオブジェクト)を受け取らず、`dict`だけを受け取ります。 そのために`jsonable_encoder`を使用することができます。 Pydanticモデルのようなオブジェクトを受け取り、JSON互換版を返します: ```Python hl_lines="5 22" {!../../docs_src/encoder/tutorial001.py!} ``` この例では、Pydanticモデルを`dict`に、`datetime`を`str`に変換します。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/en/docs/reference/encoders.md
# Encoders - `jsonable_encoder`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 71 bytes - Viewed (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,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/em/docs/tutorial/encoder.md
⚫️ 📨 🎚, 💖 Pydantic 🏷, & 📨 🎻 🔗 ⏬: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="5 22" {!> ../../docs_src/encoder/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="4 21" {!> ../../docs_src/encoder/tutorial001_py310.py!} ``` //// 👉 🖼, ⚫️ 🔜 🗜 Pydantic 🏷 `dict`, & `datetime` `str`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
//// tab | Python 3.10+ ```Python hl_lines="4 21" {!> ../../docs_src/encoder/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="5 22" {!> ../../docs_src/encoder/tutorial001.py!} ``` //// Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/encoder.md
对此你可以使用`jsonable_encoder`。 它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本: //// tab | Python 3.10+ ```Python hl_lines="4 21" {!> ../../docs_src/encoder/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="5 22" {!> ../../docs_src/encoder/tutorial001.py!} ``` //// 在这个例子中,它将Pydantic模型转换为`dict`,并将`datetime`转换为`str`。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Base64.java
/** * Base-64 encodes the supplied block of data. Line wrapping is not * applied on output. * * @param bytes The block of data that is to be Base-64 encoded. * @return A <code>String</code> containing the encoded data. */ public static String encode(byte[] bytes) { int length = bytes.length; if (length == 0) return "";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/encoder.md
같은 방식으로 이 데이터베이스는 Pydantic 모델(속성이 있는 객체)을 받지 않고, `dict` 만을 받습니다. 이를 위해 `jsonable_encoder` 를 사용할 수 있습니다. Pydantic 모델과 같은 객체를 받고 JSON 호환 가능한 버전으로 반환합니다: ```Python hl_lines="5 22" {!../../docs_src/encoder/tutorial001.py!} ``` 이 예시는 Pydantic 모델을 `dict`로, `datetime` 형식을 `str`로 변환합니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto
// encodes objects to when persisting objects in the backend. message ServerStorageVersion { // The ID of the reporting API server. optional string apiServerID = 1; // The API server encodes the object to this version when persisting it in // the backend (e.g., etcd). optional string encodingVersion = 2; // The API server can decode objects encoded in these versions.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
* * * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B". * * * Characters in `encodeSet` are percent-encoded. * * * Control characters and non-ASCII characters are percent-encoded. * * * All other characters are copied without transformation. * * @param alreadyEncoded true to leave '%' as-is; false to convert it to '%25'.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K bytes - Viewed (0)