Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
as_dict
codeintel.graph.GraphStats.as_dict
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 |
|---|---|---|
| GraphStats | graph.py | same file |
codeintel.graph.GraphStats.as_dictbackend/app/codeintel/graph.py, lines 67–75Open source
def as_dict(self) -> dict: return { "contains": self.contains, "imports": self.imports, "calls_resolved": self.calls_resolved, "calls_unresolved": self.calls_unresolved, "calls_ambiguous": self.calls_ambiguous, "calls_by_resolution": dict(self.by_resolution), }What the index recorded
- Signature
def as_dict(self) -> dict:- File
backend/app/codeintel/graph.py- Lines
- 67–75
- Parser
- python-ast
- Git blob
3791a0283d18722675047af567570cb2c1911c63- Call sites
- 1 named, 0 resolved, 1 left unlinked
