Skip to main content

collect_imports_from_source

Function collect_imports_from_source 

Source
pub fn collect_imports_from_source(
    source: &str,
    module_name: &str,
) -> Result<Vec<ImportInfo>>
Expand description

Extract all imports from a Python source file