Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for sse_items_no_annotation (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/server_sent_events/tutorial001_py310.py

    def sse_items_no_async() -> Iterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-annotation", response_class=EventSourceResponse)
    async def sse_items_no_annotation():
        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-async-no-annotation", response_class=EventSourceResponse)
    def sse_items_no_async_no_annotation():
        for item in items:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. tests/test_sse.py

    @app.get("/items/stream-sync", response_class=EventSourceResponse)
    def sse_items_sync() -> Iterable[Item]:
        yield from items
    
    
    @app.get("/items/stream-no-annotation", response_class=EventSourceResponse)
    async def sse_items_no_annotation():
        for item in items:
            yield item
    
    
    @app.get("/items/stream-sync-no-annotation", response_class=EventSourceResponse)
    def sse_items_sync_no_annotation():
        yield from items
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top