- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for encoder (0.16 sec)
-
docs/en/docs/advanced/custom-response.md
This is because by default, FastAPI will inspect every item inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
Если в Ваших тестах есть модели Pydantic и Вы хотите отправить их в тестируемое приложение, то можете использовать функцию `jsonable_encoder`, описанную на странице [Кодировщик совместимый с JSON](encoder.md){.internal-link target=_blank}. ## Запуск тестов Далее Вам нужно установить `pytest`: <div class="termy"> ```console $ pip install pytest ---> 100%
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
Das liegt daran, dass FastAPI standardmäßig jedes enthaltene Element überprüft und sicherstellt, dass es als JSON serialisierbar ist, und zwar unter Verwendung desselben [JSON-kompatiblen Encoders](../tutorial/encoder.md){.internal-link target=_blank}, der im Tutorial erläutert wurde. Dadurch können Sie **beliebige Objekte** zurückgeben, zum Beispiel Datenbankmodelle.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 13:05:12 GMT 2024 - 13.5K bytes - Viewed (0) -
api/go1.4.txt
pkg image/png, const NoCompression = -1 pkg image/png, const NoCompression CompressionLevel pkg image/png, method (*Encoder) Encode(io.Writer, image.Image) error pkg image/png, type CompressionLevel int pkg image/png, type Encoder struct pkg image/png, type Encoder struct, CompressionLevel CompressionLevel # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***>
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 12 03:01:01 GMT 2014 - 34K bytes - Viewed (0) -
api/go1.7.txt
pkg debug/elf, const R_390_TLS_TPOFF R_390 pkg debug/elf, method (R_390) GoString() string pkg debug/elf, method (R_390) String() string pkg debug/elf, type R_390 int pkg encoding/json, method (*Encoder) SetEscapeHTML(bool) pkg encoding/json, method (*Encoder) SetIndent(string, string) pkg go/build, type Package struct, BinaryOnly bool pkg go/build, type Package struct, CgoFFLAGS []string pkg go/build, type Package struct, FFiles []string
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Jun 28 15:08:11 GMT 2016 - 13.6K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
above. See [Jetty's overview][jetty_8_252] of the API change and its consequences. * New: `MultipartReader` is a streaming decoder for [MIME multipart (RFC 2045)][rfc_2045] messages. It complements `MultipartBody` which is our streaming encoder. ```kotlin val response: Response = call.execute() val multipartReader = MultipartReader(response.body!!) multipartReader.use {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
api/go1.9.txt
pkg hash/fnv, func New128() hash.Hash pkg hash/fnv, func New128a() hash.Hash pkg html/template, const ErrPredefinedEscaper = 11 pkg html/template, const ErrPredefinedEscaper ErrorCode pkg image/png, type Encoder struct, BufferPool EncoderBufferPool pkg image/png, type EncoderBuffer struct pkg image/png, type EncoderBufferPool interface { Get, Put } pkg image/png, type EncoderBufferPool interface, Get() *EncoderBuffer
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
* non-optional member but be included in sequence. * * TODO: for sets, sort by tag when encoding. * TODO: for set ofs, sort by encoded value when encoding. */ fun <T> sequence( name: String, vararg members: DerAdapter<*>, decompose: (T) -> List<*>, construct: (List<*>) -> T, ): BasicDerAdapter<T> { val codec =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
val expected = Buffer() .writeByte(0x40) // Literal header, new name. .writeByte(0x82) // String literal is Huffman encoded (len = 2). .writeByte(0x94) // 'foo' Huffman encoded. .writeByte(0xE7) .writeByte(3) // String literal not Huffman encoded (len = 3). .writeByte('b'.code) .writeByte('a'.code) .writeByte('r'.code) .readByteString()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* generalTime GeneralizedTime * } * ``` * * RFC 5280, section 4.1.2.5: * * > CAs conforming to this profile MUST always encode certificate validity dates through the year * > 2049 as UTCTime; certificate validity dates in 2050 or later MUST be encoded as * > GeneralizedTime. */ internal val time: DerAdapter<Long> = object : DerAdapter<Long> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.6K bytes - Viewed (1)