Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 136 of 136 for JSONResponse (0.07 sec)

  1. docs/uk/docs/tutorial/response-model.md

    Цей простий випадок автоматично обробляється FastAPI, тому що анотація типу повернення — це клас (або підклас) `Response`.
    
    І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна.
    
    ### Анотація підкласу Response
    
    Також можна використовувати підклас `Response` у анотації типу:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/response-model.md

    Этот простой случай обрабатывается FastAPI автоматически, потому что аннотация возвращаемого типа — это класс (или подкласс) `Response`.
    
    И инструменты тоже будут довольны, потому что и `RedirectResponse`, и `JSONResponse` являются подклассами `Response`, так что аннотация типа корректна.
    
    ### Аннотировать подкласс Response { #annotate-a-response-subclass }
    
    Вы также можете использовать подкласс `Response` в аннотации типа:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-model.md

    Und Tools werden auch glücklich sein, weil sowohl `RedirectResponse` als auch `JSONResponse` Unterklassen von `Response` sind, die Typannotation ist daher korrekt.
    
    ### Eine Unterklasse von Response annotieren { #annotate-a-response-subclass }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/response-model.md

    Este caso simple es manejado automáticamente por FastAPI porque la anotación del tipo de retorno es la clase (o una subclase de) `Response`.
    
    Y las herramientas también estarán felices porque tanto `RedirectResponse` como `JSONResponse` son subclases de `Response`, por lo que la anotación del tipo es correcta.
    
    ### Anotar una Subclase de Response { #annotate-a-response-subclass }
    
    También puedes usar una subclase de `Response` en la anotación del tipo:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/handling-errors.md

    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | 技術詳細
    
    また、`from starlette.requests import Request`と`from starlette.responses import JSONResponse`を使用することもできます。
    
    **FastAPI** は開発者の利便性を考慮して、`fastapi.responses`と同じ`starlette.responses`を提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。これは`Request`と同じです。
    
    ///
    
    ## デフォルトの例外ハンドラのオーバーライド
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    ## 0.51.0
    
    * Re-export utils from Starlette:
        * This allows using things like `from fastapi.responses import JSONResponse` instead of `from starlette.responses import JSONResponse`.
        * It's mainly syntax sugar, a convenience for developer experience.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top