atlas.analyzers.dependency_graph.build_dependency_graph

Details

Type: function

File: atlas/analyzers/dependency_graph.py

Lines: 36–172

Signature: (conn: sqlite3.Connection, snapshot_id: str) -> DependencyResult

Docstring

Build module- and file-level dependency edges from imports.

Also creates inheritance edges for class bases when the base is an imported
module symbol.

Children

Name Type Line
atlas.analyzers.dependency_graph.build_dependency_graph.snapshot_row attribute 45
atlas.analyzers.dependency_graph.build_dependency_graph.module_to_path attribute 58
atlas.analyzers.dependency_graph.build_dependency_graph.imports attribute 59
atlas.analyzers.dependency_graph.build_dependency_graph.edges_added attribute 63
atlas.analyzers.dependency_graph.build_dependency_graph.classes attribute 125

Actions

Analyse Impact Impact JSON