Back to the room

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

Code Observatory / function

_get_repo

modules.code.router._get_repo

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 (3)
SymbolFileResolved by
delete_repositoryrouter.pysame file
get_repositoryrouter.pysame file
queue_learningrouter.pysame file
Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router._get_repobackend/app/modules/code/router.py, lines 144–148Open source
def _get_repo(db: Session, repo_id: uuid.UUID) -> Repository:    repo = db.get(Repository, repo_id)    if repo is None:        raise HTTPException(status_code=404, detail={"error": "not_found", "detail": "repository not found"})    return repo

What the index recorded

Signature
def _get_repo(db: Session, repo_id: uuid.UUID) -> Repository:
File
backend/app/modules/code/router.py
Lines
144–148
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
2 named, 0 resolved, 2 left unlinked

Read it on GitHub at this commit