Back to the room

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 symbols

Loading

Called by (2)
SymbolFileResolved by
source_requestscontext.pythrough an import
hoversymbols.pythrough an import
Inside (1)
SymbolFileResolved by
sourcesource.pysame 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 | None

What the index recorded

Signature
class SourceRequest:
File
backend/app/codeintel/source.py
Lines
39–49
Parser
python-ast
Git blob
c9f05cf7bf871b09919d64e9fdaf8380ecc3df2c

Read it on GitHub at this commit