Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / class
SourceRequest
codeintel.source.SourceRequest
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 |
|---|---|---|
| source_requests | context.py | through an import |
| hover | symbols.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| source | source.py | same file |
codeintel.source.SourceRequestbackend/app/codeintel/source.py, lines 39–49Open source
@dataclassclass SourceRequest: key: str # caller's id (chunk id) source_type: str # github | git | local repository_url: str local_path: str | None commit: str path: str start_line: int end_line: int blob_sha: str | NoneWhat the index recorded
- Signature
class SourceRequest:- File
backend/app/codeintel/source.py- Lines
- 39–49
- Parser
- python-ast
- Git blob
c9f05cf7bf871b09919d64e9fdaf8380ecc3df2c
