Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for sse_items (0.07 seconds)

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

  1. docs_src/server_sent_events/tutorial001_py310.py

        Item(name="Meeseeks Box", description="A box that summons a Meeseeks."),
    ]
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    async def sse_items() -> AsyncIterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-async", response_class=EventSourceResponse)
    def sse_items_no_async() -> Iterable[Item]:
        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

        Item(name="Meeseeks Box", description="A box that summons a Meeseeks."),
    ]
    
    
    app = FastAPI()
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    async def sse_items() -> AsyncIterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-sync", response_class=EventSourceResponse)
    def sse_items_sync() -> Iterable[Item]:
        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)
  3. tests/test_security_scopes_sub_dependency.py

        ):
            call_counts["get_user_items"] += 1
            return {
                "user_items": f"user_items_{call_counts['get_user_items']}",
                "user_me": user_me,
            }
    
        app = FastAPI()
    
        @app.get("/")
        def path_operation(
            user_me: Annotated[dict, Depends(get_user_me)],
            user_items: Annotated[dict, Security(get_user_items, scopes=["items"])],
        ):
            return {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/admin/user/admin_user.jsp

                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s" items="${userItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/user/details/4/${f:u(data.id)}" role="button" tabindex="0">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top