()
| 432 | |
| 433 | # Run in new event loop (handles both sync and async callbacks) |
| 434 | def run_callback(): |
| 435 | result = partial_func() |
| 436 | if inspect.iscoroutine(result): |
| 437 | return asyncio.run(result) |
| 438 | return result |
| 439 | |
| 440 | response_data = ctx.run(run_callback) |
| 441 | return {"status": "ok", "data": json.loads(response_data)} |
nothing calls this directly
no test coverage detected
searching dependent graphs…