(prompt_id)
| 928 | return self.prompt_queue.interrupt_if_running(prompt_id) |
| 929 | |
| 930 | def dequeue(prompt_id): |
| 931 | logging.info(f"Cancelling pending prompt {prompt_id}") |
| 932 | return self.prompt_queue.delete_queue_item(lambda a: a[1] == prompt_id) |
| 933 | |
| 934 | classification = cancel_job(job_id, running, queued, history, interrupt, dequeue) |
| 935 | return classification in (CANCEL_RUNNING, CANCEL_PENDING) |
nothing calls this directly
no test coverage detected