- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 985 for Encode (0.07 sec)
-
docs/pt/docs/tutorial/encoder.md
Você pode usar a função `jsonable_encoder` para resolver isso. A função recebe um objeto, como um modelo Pydantic e retorna uma versão compatível com JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/encoder.md
같은 방식으로 이 데이터베이스는 Pydantic 모델(속성이 있는 객체)을 받지 않고, `dict` 만을 받습니다. 이를 위해 `jsonable_encoder` 를 사용할 수 있습니다. Pydantic 모델과 같은 객체를 받고 JSON 호환 가능한 버전으로 반환합니다: {* ../../docs_src/encoder/tutorial001.py hl[5,22] *} 이 예시는 Pydantic 모델을 `dict`로, `datetime` 형식을 `str`로 변환합니다.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/erasure-decode.go
} // If we cannot decode, just return read quorum error. return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers)) } // Decode reads from readers, reconstructs data if needed and writes the data to the writer. // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/en/docs/img/vscode-completion.png
vscode-completion.png...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 61K bytes - Viewed (0) -
docs/ja/docs/alternatives.md
Hugは、**FastAPI**がPythonの型ヒントを用いてパラメータを宣言し自動的にAPIを定義するスキーマを生成することを触発しました。 Hugは、**FastAPI**がヘッダーやクッキーを設定するために関数に `response`引数を宣言することにインスピレーションを与えました。 /// ### <a href="https://github.com/encode/apistar" class="external-link" target="_blank">APIStar</a> (<= 0.5) **FastAPI**を構築することを決める直前に、**APIStar**サーバーを見つけました。それは私が探していたものがほぼすべて含まれており、素晴らしいデザインでした。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 31.5K bytes - Viewed (0) -
cmd/server_test.go
} } func verifyError(c *check, response *http.Response, code, description string, statusCode int) { c.Helper() data, err := io.ReadAll(response.Body) c.Assert(err, nil) errorResponse := APIErrorResponse{} err = xml.Unmarshal(data, &errorResponse) c.Assert(err, nil) c.Assert(errorResponse.Code, code) c.Assert(errorResponse.Message, description) c.Assert(response.StatusCode, statusCode) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
// Base64 encoded Type 1 message: NTLMSSP, Type 1, flags=0x00088207 // Domain="DOMAIN", Workstation="WORKSTATION" private final String type1MessageBase64 = "TlRMTVNTUAABAAAABzIAAAYABgArAAAACwALACAAAABET01BSU5XT1JLU1RBVElPTg=="; // Base64 encoded Type 3 message: NTLMSSP, Type 3 // User: "user", Domain: "DOMAIN", Workstation: "WORKSTATION"Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
String expectedFilename = "日本語ファイル.txt"; byte[] buffer = createValidBuffer(expectedFilename, "~1.TXT", true); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } @Test @DisplayName("Test decode with non-Unicode filename")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/bufio/scan.go
// ScanRunes is a split function for a [Scanner] that returns each // UTF-8-encoded rune as a token. The sequence of runes returned is // equivalent to that from a range loop over the input as a string, which // means that erroneous UTF-8 encodings translate to U+FFFD = "\xef\xbf\xbd". // Because of the Scan interface, this makes it impossible for the client to // distinguish correctly encoded replacement runes from encoding errors.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
api/go1.txt
pkg unicode, var Common *RangeTable pkg unicode, var Coptic *RangeTable pkg unicode, var Cs *RangeTable pkg unicode, var Cuneiform *RangeTable pkg unicode, var Cypriot *RangeTable pkg unicode, var Cyrillic *RangeTable pkg unicode, var Dash *RangeTable pkg unicode, var Deprecated *RangeTable pkg unicode, var Deseret *RangeTable pkg unicode, var Devanagari *RangeTable
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)