Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

job_out

modules.code.router.job_out

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 symbols

Loading

Called by (4)
SymbolFileResolved by
cancel_jobrouter.pysame file
get_jobrouter.pysame file
list_jobsrouter.pysame file
submit_repositoryrouter.pysame file
Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router.job_outbackend/app/modules/code/router.py, lines 86–104Open source
def job_out(job: IngestionJob) -> JobOut:    return JobOut(        id=str(job.id),        repo_url=job.repo_url,        branch=job.branch_key or None,        status=job.status,        attempts=job.attempts,        max_attempts=job.max_attempts,        error_kind=job.error_kind,        error=job.error,        commit_sha=job.commit_sha,        repository_id=str(job.repository_id) if job.repository_id else None,        created_at=job.created_at,        started_at=job.started_at,        finished_at=job.finished_at,        heartbeat_at=job.heartbeat_at,        available_at=job.available_at,        stats=job.stats,    )

What the index recorded

Signature
def job_out(job: IngestionJob) -> JobOut:
File
backend/app/modules/code/router.py
Lines
86–104
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
2 named, 1 resolved, 1 left unlinked
Outside this subset
1 more edges reach code outside the graph shown here

Read it on GitHub at this commit