Skip to main content

Cancelation

Cancel a dispatch using the dispatch_id or multiple tasks within a workflow using the task_ids

covalent._results_manager.results_manager.cancel

#

Cancel a running dispatch.

Parameters

dispatch_id (str) – The dispatch id of the dispatch to be canceled.

task_ids (Optional[List[int]]) – Optional, list of task ids to cancel within the workflow

settings – The settings object to use. If None, the default settings will be used.

Return Type

str

Returns

Cancelation response

Examples