Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for stream_image_no_annotation (0.11 seconds)

  1. docs_src/stream_data/tutorial002_py310.py

    def stream_image_no_async_yield_from() -> Iterable[bytes]:
        with read_image() as image_file:
            yield from image_file
    
    
    @app.get("/image/stream-no-annotation", response_class=PNGStreamingResponse)
    async def stream_image_no_annotation():
        with read_image() as image_file:
            for chunk in image_file:
                yield chunk
    
    
    @app.get("/image/stream-no-async-no-annotation", response_class=PNGStreamingResponse)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 20:51:40 GMT 2026
    - 5.6K bytes
    - Click Count (0)
Back to Top