(session: SessionFuncDep)
| 78 | |
| 79 | @app.get("/function-scope") |
| 80 | def function_scope(session: SessionFuncDep) -> Any: |
| 81 | def iter_data(): |
| 82 | yield json.dumps({"is_open": session.open}) |
| 83 | |
| 84 | return StreamingResponse(iter_data()) |
| 85 | |
| 86 | |
| 87 | @app.get("/request-scope") |
nothing calls this directly
no test coverage detected
searching dependent graphs…