Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
__init__
codeintel.retrieval.Retriever.__init__
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 symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| Retriever | retrieval.py | same file |
codeintel.retrieval.Retriever.__init__backend/app/codeintel/retrieval.py, lines 197–200Open source
def __init__(self, db: Session, embedder: Embedder | None) -> None: self.db = db self.embedder = embedder self.is_pg = db.get_bind().dialect.name == "postgresql"What the index recorded
- Signature
def __init__(self, db: Session, embedder: Embedder | None) -> None:- File
backend/app/codeintel/retrieval.py- Lines
- 197–200
- Parser
- python-ast
- Git blob
884729a39ae0b3d340ad83f75946677dcddf3791- Call sites
- 1 named, 0 resolved, 1 left unlinked
