Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 53 of 53 for StreamingResponse (0.16 seconds)

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

    ---
    
    さらに、`status_code` パラメータを `response_class` パラメータと組み合わせて使うこともできます:
    
    {* ../../docs_src/custom_response/tutorial006c_py310.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    非同期ジェネレータ、または通常のジェネレータ/イテレータ(`yield` を持つ関数)を受け取り、レスポンスボディをストリームします。
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | 技術詳細
    
    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)
  2. docs/pt/docs/advanced/custom-response.md

    ---
    
    Você também pode utilizar o parâmetro `status_code` combinado com o parâmetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006c_py310.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Recebe um gerador assíncrono ou um gerador/iterador comum (uma função com `yield`) e transmite (stream) o corpo da resposta.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. docs/en/docs/release-notes.md

    This change also meant that if you returned a `StreamingResponse`, the exit code of the dependency with `yield` would have been already run.
    
    For example, if you had a database session in a dependency with `yield`, the `StreamingResponse` would not be able to use that session while streaming data because the session would have already been closed in the exit code after `yield`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top