Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
list_jobs
modules.code.router.list_jobs
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
modules.code.router.list_jobsbackend/app/modules/code/router.py, lines 173–182Open source
@router.get("/ingestion/jobs", response_model=list[JobOut])def list_jobs( status_filter: str | None = Query(None, alias="status", pattern="^(queued|running|succeeded|failed|cancelled)$"), limit: int = Query(20, ge=1, le=200), db: Session = Depends(get_sync_db),): stmt = select(IngestionJob).order_by(IngestionJob.created_at.desc()).limit(limit) if status_filter: stmt = stmt.where(IngestionJob.status == status_filter) return [job_out(j) for j in db.execute(stmt).scalars()]What the index recorded
- Signature
def list_jobs(status_filter: str | None, limit: int, db: Session):- File
backend/app/modules/code/router.py- Lines
- 173–182
- Parser
- python-ast
- Git blob
d914024790aaafe7234adda557677b76e4ad73d5- Call sites
- 9 named, 3 resolved, 6 left unlinked
- Outside this subset
- 2 more edges reach code outside the graph shown here
