orchestrator.YAMLCompiler
- class orchestrator.YAMLCompiler(schema_validator=None, ambiguity_resolver=None)[source]
Bases:
objectCompiles YAML definitions into executable pipelines.
The compiler handles: - YAML parsing and validation - Template processing with Jinja2 - AUTO tag detection and resolution - Pipeline object construction
Methods
__init__([schema_validator, ambiguity_resolver])Initialize YAML compiler.
compile(yaml_content[, context, ...])Compile YAML content to Pipeline object.
detect_auto_tags(content)Detect AUTO tags in content.
get_template_variables(yaml_content)Extract template variables from YAML content.
has_auto_tags(obj)Check if object contains AUTO tags.
validate_yaml(yaml_content)Validate YAML content without compilation.
- async compile(yaml_content, context=None, resolve_ambiguities=True)[source]
Compile YAML content to Pipeline object.