MCPcopy
hub / github.com/plotly/dash / cancel_call

Method cancel_call

dash/dash.py:1691–1697  ·  view source on GitHub ↗
(*_)

Source from the content-addressed store, hash-verified

1689 manager=manager,
1690 )
1691 def cancel_call(*_):
1692 job_ids = callback_context.args.getlist("cancelJob")
1693 executor = _callback.context_value.get().background_callback_manager
1694 if job_ids:
1695 for job_id in job_ids:
1696 executor.terminate_job(job_id)
1697 return no_update
1698
1699 def _add_assets_resource(self, url_path, file_path):
1700 res = {"asset_path": url_path, "filepath": file_path}

Callers

nothing calls this directly

Calls 3

getlistMethod · 0.80
getMethod · 0.45
terminate_jobMethod · 0.45

Tested by

no test coverage detected