Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 38 for ijkl (0.02 seconds)

  1. docs/pt/docs/advanced/custom-response.md

    Você pode criar sua própria classe de resposta personalizada, herdando de `Response` e usando-a.
    
    Por exemplo, vamos supor que você queira usar [`orjson`](https://github.com/ijl/orjson) com algumas configurações.
    
    Vamos supor que você queira retornar um JSON indentado e formatado, então você quer utilizar a opção `orjson.OPT_INDENT_2` do orjson.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/custom-response.md

    この場合、*path operation* 関数からファイルパスを直接返せます。
    
    ## カスタムレスポンスクラス { #custom-response-class }
    
    `Response` を継承して、独自のカスタムレスポンスクラスを作成し、使用できます。
    
    例えば、[`orjson`](https://github.com/ijl/orjson) を特定の設定で使いたいとします。
    
    インデントされた整形済みJSONを返したいので、orjson のオプション `orjson.OPT_INDENT_2` を使いたいとします。
    
    `CustomORJSONResponse` を作成できます。主に必要なのは、`bytes` を返す `Response.render(content)` メソッドを作ることです:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. docs/uk/docs/index.md

    Додаткові необовʼязкові залежності FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) - потрібно, якщо ви хочете використовувати `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - потрібно, якщо ви хочете використовувати `UJSONResponse`.
    
    ## Ліцензія { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/custom-response.md

    在此情況下,你可以在「路徑操作函式」中直接回傳檔案路徑。
    
    ## 自訂回應類別 { #custom-response-class }
    
    你可以建立自己的自訂回應類別,繼承自 `Response` 並加以使用。
    
    例如,假設你要使用 [`orjson`](https://github.com/ijl/orjson) 並套用一些設定。
    
    假設你想回傳縮排且格式化的 JSON,因此要使用 orjson 選項 `orjson.OPT_INDENT_2`。
    
    你可以建立 `CustomORJSONResponse`。你主要需要做的是建立一個 `Response.render(content)` 方法,將內容以 `bytes` 回傳:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. docs/de/docs/index.md

    Zusätzliche optionale FastAPI-Abhängigkeiten:
    
    * [`orjson`](https://github.com/ijl/orjson) – erforderlich, wenn Sie `ORJSONResponse` verwenden möchten.
    * [`ujson`](https://github.com/esnme/ultrajson) – erforderlich, wenn Sie `UJSONResponse` verwenden möchten.
    
    ## Lizenz { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  6. docs/zh/docs/index.md

    * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - 用于在 Pydantic 中使用的额外类型。
    
    额外的 FastAPI 可选依赖:
    
    * [`orjson`](https://github.com/ijl/orjson) - 使用 `ORJSONResponse` 时需要。
    * [`ujson`](https://github.com/esnme/ultrajson) - 使用 `UJSONResponse` 时需要。
    
    ## 许可协议 { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  7. docs/ru/docs/index.md

    Дополнительные опциональные зависимости FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) — обязателен, если вы хотите использовать `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) — обязателен, если вы хотите использовать `UJSONResponse`.
    
    ## Лицензия { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. docs/es/docs/index.md

    * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - para tipos extra para ser usados con Pydantic.
    
    Dependencias opcionales adicionales de FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) - Requerido si deseas usar `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - Requerido si deseas usar `UJSONResponse`.
    
    ## Licencia { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  9. docs/pt/docs/index.md

    Dependências opcionais adicionais do FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) - Obrigatório se você deseja utilizar o `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - Obrigatório se você deseja utilizar o `UJSONResponse`.
    
    ## Licença { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  10. docs/tr/docs/index.md

    * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - Pydantic ile kullanılacak ek type'lar için.
    
    Ek opsiyonel FastAPI bağımlılıkları:
    
    * [`orjson`](https://github.com/ijl/orjson) - `ORJSONResponse` kullanmak istiyorsanız gereklidir.
    * [`ujson`](https://github.com/esnme/ultrajson) - `UJSONResponse` kullanmak istiyorsanız gereklidir.
    
    ## Lisans { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top