Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 980 for tutorial008_py310 (0.09 seconds)

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

    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Принимает текст или байты и возвращает HTML-ответ, как описано выше.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Принимает текст или байты и возвращает ответ в виде простого текста.
    
    {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  2. docs/uk/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Приймає текст або байти та повертає HTML-відповідь, як описано вище.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Приймає текст або байти та повертає відповідь звичайним текстом.
    
    {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/handling-errors.md

    Щоб повернути HTTP-відповіді з помилками клієнту, використовуйте `HTTPException`.
    
    ### Імпорт `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Згенеруйте `HTTPException` у своєму коді { #raise-an-httpexception-in-your-code }
    
    `HTTPException` - це звичайна помилка Python із додатковими даними, які стосуються API.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/handling-errors.md

    Client’a hata içeren HTTP response’ları döndürmek için `HTTPException` kullanırsınız.
    
    ### `HTTPException`’ı Import Etme { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Kodunuzda Bir `HTTPException` Raise Etme { #raise-an-httpexception-in-your-code }
    
    `HTTPException`, API’lerle ilgili ek veriler içeren normal bir Python exception’ıdır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *}
    
    ### Kein Rückgabetyp { #no-return-type }
    
    Sie können den Rückgabetyp auch weglassen. FastAPI verwendet dann den [`jsonable_encoder`](./encoder.md), um die Daten zu konvertieren und zu senden.
    
    {* ../../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 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Cada item produzido é codificado como JSON e enviado no campo `data:` de um evento SSE.
    
    Se você declarar o tipo de retorno como `AsyncIterable[Item]`, o FastAPI o usará para validar, documentar e serializar os dados com o Pydantic.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | Dica
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Cada ítem producido con `yield` se codifica como JSON y se envía en el campo `data:` de un evento SSE.
    
    Si declaras el tipo de retorno como `AsyncIterable[Item]`, FastAPI lo usará para **validar**, **documentar** y **serializar** los datos usando Pydantic.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | Consejo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Each yielded item is encoded as JSON and sent in the `data:` field of an SSE event.
    
    If you declare the return type as `AsyncIterable[Item]`, FastAPI will use it to **validate**, **document**, and **serialize** the data using Pydantic.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/handling-errors.md

    Pour renvoyer au client des réponses HTTP avec des erreurs, vous utilisez `HTTPException`.
    
    ### Importer `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Lever une `HTTPException` dans votre code { #raise-an-httpexception-in-your-code }
    
    `HTTPException` est une exception Python normale avec des données supplémentaires pertinentes pour les API.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Кожен елемент, повернений через `yield`, кодується як JSON і надсилається в полі `data:` події SSE.
    
    Якщо ви оголосите тип повернення як `AsyncIterable[Item]`, FastAPI використає його, щоб **перевіряти**, **документувати** і **серіалізувати** дані за допомогою Pydantic.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top