DomoDataflowAnalyzer
DomoDataflowAnalyzer ¶
DomoDataflowAnalyzer ¶
Analyze scripting tiles and suggest Magic ETL substitutions.
Usage
analyzer = DomoDataflowAnalyzer() result = analyzer.analyze(script_str)
OperationDetection
dataclass
¶
OperationDetection(
kind: str,
description: str,
columns: list[str] = list(),
functions: list[str] = list(),
confidence: float = 0.5,
detail: dict[str, Any] = dict(),
)
Represents an operation discovered inside the scripting tile.
ScriptAnalysisResult
dataclass
¶
ScriptAnalysisResult(
operations: list[OperationDetection] = list(),
suggestions: list[SuggestedAction] = list(),
notes: list[str] = list(),
)
Container for the full analysis output.
SuggestedAction
dataclass
¶
SuggestedAction(
action_type: str,
category: str,
rationale: str,
confidence: float,
columns: list[str] = list(),
)
Represents a proposed Magic ETL action alternative.