script_analyzer
script_analyzer ¶
Turn a Python script into Magic ETL tile recommendations.
A three-node LangGraph pipeline (code analysis, pattern matching, recommendations)
over DomoDataflowAnalyzer, with shared state in models.py and pattern-to-action
mappings in mappings.py. Call workflows.analyze_python_script; it runs the
graph and raises ScriptAnalysisError if the graph fails (there is no fallback).
langgraph ships in the optional analysis extra (install crew-dcs[analysis] from the private index);
importing this subpackage without it raises MissingExtraError.
Analysis is static (AST over the script text); nothing here calls Domo.