Back to the room

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

Code Observatory / function

_learning_job_out

modules.code.router._learning_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 (2)
SymbolFileResolved by
list_learning_jobsrouter.pysame file
queue_learningrouter.pysame file
Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router._learning_job_outbackend/app/modules/code/router.py, lines 339–342Open source
def _learning_job_out(job: LearningJob) -> dict:    return {"id": str(job.id), "repository_id": str(job.repository_id), "commit_sha": job.commit_sha,            "status": job.status, "attempts": job.attempts, "error": job.error, "error_kind": job.error_kind,            "stats": job.stats, "created_at": job.created_at, "finished_at": job.finished_at}

What the index recorded

Signature
def _learning_job_out(job: LearningJob) -> dict:
File
backend/app/modules/code/router.py
Lines
339–342
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
1 named, 0 resolved, 1 left unlinked

Read it on GitHub at this commit