MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / cancel

Function cancel

tests/test_pipeline_runner.py:49–50  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

47 job.cancel_requested = True
48
49 def cancel(*args, **kwargs):
50 raise JobCancelled()
51
52 with patch("app.pipeline.runner._run_blocking", side_effect=cancel):
53 await run_pipeline(job, "https://www.youtube.com/watch?v=dQw4w9WgXcQ", tmp_path)

Callers

nothing calls this directly

Calls 1

JobCancelledClass · 0.90

Tested by

no test coverage detected