Back to the room

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

Code Observatory / function

list_repositories

modules.code.router.list_repositories

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

Calls (1)
SymbolFileResolved by
repository_summarysymbols.pythrough an import
Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router.list_repositoriesbackend/app/modules/code/router.py, lines 138–141Open source
@router.get("/repositories", response_model=list[RepositoryOut])def list_repositories(db: Session = Depends(get_sync_db)):    repos = db.execute(select(Repository).order_by(Repository.name)).scalars().all()    return [repository_summary(db, r) for r in repos]

What the index recorded

Signature
def list_repositories(db: Session):
File
backend/app/modules/code/router.py
Lines
138–141
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
7 named, 3 resolved, 4 left unlinked
Outside this subset
2 more edges reach code outside the graph shown here

Read it on GitHub at this commit