Get a specific pipeline by ID.
(pipeline_id: str)
| 34 | |
| 35 | @router.get("/{pipeline_id}", response_model=Pipeline) |
| 36 | async 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]) |
| 44 | async def list_pipelines(skip: int = 0, limit: int = 10): |
nothing calls this directly
no outgoing calls
no test coverage detected