MCPcopy Index your code
hub / github.com/plotly/dash / run_callback

Function run_callback

dash/backends/ws.py:434–438  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)}

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…