MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / delete_pipeline

Function delete_pipeline

backend/app/api/pipelines.py:72–78  ·  view source on GitHub ↗

Delete a pipeline.

(pipeline_id: str)

Source from the content-addressed store, hash-verified

70
71@router.delete("/{pipeline_id}")
72async def delete_pipeline(pipeline_id: str):
73 """Delete a pipeline."""
74 if pipeline_id not in pipelines_store:
75 raise HTTPException(status_code=404, detail="Pipeline not found")
76
77 del pipelines_store[pipeline_id]
78 return {"message": "Pipeline deleted successfully"}
79
80@router.post("/{pipeline_id}/run")
81async def run_pipeline(pipeline_id: str):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected