(session: SessionRequestDep)
| 86 | |
| 87 | @app.get("/request-scope") |
| 88 | def request_scope(session: SessionRequestDep) -> Any: |
| 89 | def iter_data(): |
| 90 | yield json.dumps({"is_open": session.open}) |
| 91 | |
| 92 | return StreamingResponse(iter_data()) |
| 93 | |
| 94 | |
| 95 | @app.get("/two-scopes") |
nothing calls this directly
no test coverage detected
searching dependent graphs…