Skip to main content

ingest_python_directory

Function ingest_python_directory 

Source
pub fn ingest_python_directory(root: &Path) -> Result<IngestResult>
Expand description

Ingest all Python files under a directory using the Python-specific parser.

Unlike ingest_directory, this uses PythonParser which:

  • Emits Python-specific CodeNodeKind variants (PythonFunction, PythonClass, etc.)
  • Populates position metadata for all nodes (start_line, end_line, etc.)
  • Emits PythonDecorator, PythonImport, PythonAsync, PythonProperty nodes