Back to the room

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

Code Observatory / function

_repo_ids

modules.code.router._repo_ids

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
resolve_repositoriescontext.pythrough an import
Called by (5)
SymbolFileResolved by
memory_briefrouter.pysame file
memory_itemsrouter.pysame file
memory_searchrouter.pysame file
memory_skillrouter.pysame file
memory_skillsrouter.pysame file
Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router._repo_idsbackend/app/modules/code/router.py, lines 332–336Open source
def _repo_ids(db: Session, repository: str | None) -> list[uuid.UUID]:    try:        return [r.id for r in resolve_repositories(db, repository)]    except RepositoryNotFound as exc:        raise HTTPException(status_code=404, detail={"error": "repository_not_found", "detail": str(exc)}) from exc

What the index recorded

Signature
def _repo_ids(db: Session, repository: str | None) -> list[uuid.UUID]:
File
backend/app/modules/code/router.py
Lines
332–336
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
3 named, 1 resolved, 2 left unlinked

Read it on GitHub at this commit