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

Function get_pipeline

backend/app/api/pipelines.py:36–41  ·  view source on GitHub ↗

Get a specific pipeline by ID.

(pipeline_id: str)

Source from the content-addressed store, hash-verified

34
35@router.get("/{pipeline_id}", response_model=Pipeline)
36async def get_pipeline(pipeline_id: str):
37 """Get a specific pipeline by ID."""
38 if pipeline_id not in pipelines_store:
39 raise HTTPException(status_code=404, detail="Pipeline not found")
40
41 return pipelines_store[pipeline_id]
42
43@router.get("/", response_model=List[Pipeline])
44async def list_pipelines(skip: int = 0, limit: int = 10):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected