Function
get_context_b_bg
(tasks: BackgroundTasks, state: dict = Depends(context_b))
Source from the content-addressed store, hash-verified
| 134 | |
| 135 | @app.get("/context_b_bg") |
| 136 | async def get_context_b_bg(tasks: BackgroundTasks, state: dict = Depends(context_b)): |
| 137 | async def bg(state: dict): |
| 138 | state["bg"] = f"bg set - b: {state['context_b']} - a: {state['context_a']}" |
| 139 | |
| 140 | tasks.add_task(bg, state) |
| 141 | return state |
| 142 | |
| 143 | |
| 144 | # Sync versions |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…