- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 823 for encoder (0.05 seconds)
-
docs/zh/docs/tutorial/server-sent-events.md
由于此时函数不是 async,正确的返回类型应为 `Iterable[Item]`: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *} ### 无返回类型 { #no-return-type } 你也可以省略返回类型。FastAPI 将使用 [`jsonable_encoder`](./encoder.md) 转换数据并发送。 {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[34:37] hl[35] *} ## `ServerSentEvent` { #serversentevent }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/ru/docs/tutorial/testing.md
Если в Ваших тестах есть модели Pydantic и Вы хотите отправить их в тестируемое приложение, то можете использовать функцию `jsonable_encoder`, описанную на странице [Кодировщик совместимый с JSON](encoder.md). /// ## Запуск { #run-it } Далее Вам нужно установить `pytest`. Убедитесь, что Вы создали [виртуальное окружение](../virtual-environments.md), активировали его, а затем установили пакет, например:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 9.5K bytes - Click Count (0) -
docs/de/docs/_llm-test.md
* der Cloudanbieter * der Clouddienst * die Entwicklung * die Entwicklungsphasen * das Dict * das Dictionary * die Enumeration * das Enum * das Enum-Member * der Encoder * der Decoder * kodieren * dekodieren * die Exception * werfen * der Ausdruck * die Anweisung * das Frontend * das Backend * die GitHub-Diskussion * das GitHub-Issue
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/zh/docs/_llm-test.md
* the cloud provider * the cloud service * the development * the development stages * the dict * the dictionary * the enumeration * the enum * the enum member * the encoder * the decoder * to encode * to decode * the exception * to raise * the expression * the statement * the frontend * the backend * the GitHub discussion * the GitHub issue
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/server-sent-events.md
この場合は関数が async ではないため、適切な戻り値の型は `Iterable[Item]` です: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *} ### 戻り値の型なし { #no-return-type } 戻り値の型を省略することもできます。FastAPI は [`jsonable_encoder`](./encoder.md) を使ってデータを変換し、送信します。 {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[34:37] hl[35] *} ## `ServerSentEvent` { #serversentevent }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/ja/docs/tutorial/testing.md
/// info `TestClient` は、Pydanticモデルではなく、JSONに変換できるデータを受け取ることに注意してください。 テストにPydanticモデルがあり、テスト中にそのデータをアプリケーションに送信したい場合は、[JSON互換エンコーダ](encoder.md) で説明されている `jsonable_encoder` が利用できます。 /// ## 実行 { #run-it } その後、`pytest` をインストールするだけです。 [仮想環境](../virtual-environments.md) を作成し、それを有効化してから、例えば以下のようにインストールしてください: <div class="termy">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/fr/docs/advanced/custom-response.md
Si vous ne déclarez pas de modèle de réponse, FastAPI utilisera le `jsonable_encoder` expliqué dans [Encodeur compatible JSON](../tutorial/encoder.md) et le placera dans une `JSONResponse`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/testing.md
/// info | 정보 `TestClient`는 Pydantic 모델이 아니라 JSON으로 변환될 수 있는 데이터를 받습니다. 만약 테스트 중 Pydantic 모델을 가지고 있고 테스트 중에 애플리케이션으로 해당 데이터를 보내고 싶다면, [JSON 호환 인코더](encoder.md)에 설명되어 있는 `jsonable_encoder`를 사용할 수 있습니다. /// ## 실행하기 { #run-it } 그 후에는 `pytest`를 설치하기만 하면 됩니다. [가상 환경](../virtual-environments.md)을 만들고, 활성화 시킨 뒤에 설치하세요. 예시: <div class="termy">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 6.8K bytes - Click Count (0) -
docs/ja/docs/tutorial/stream-json-lines.md
{* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *} ### 戻り値の型なし { #no-return-type } 戻り値の型を省略することもできます。FastAPI はその場合、データを JSON にシリアライズ可能な形に変換するために [`jsonable_encoder`](./encoder.md) を使い、JSON Lines として送信します。 {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[33:36] hl[34] *} ## Server-Sent Events (SSE) { #server-sent-events-sse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
/// ## JSON 响应 { #json-responses } 默认情况下 FastAPI 返回 JSON 响应。 如果你声明了一个[响应模型](../tutorial/response-model.md),FastAPI 会使用 Pydantic 将数据序列化为 JSON。 如果你没有声明响应模型,FastAPI 会使用 [JSON 兼容编码器](../tutorial/encoder.md) 中解释的 `jsonable_encoder`,并把结果放进一个 `JSONResponse`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0)