cursus.core.compiler.dynamic_template¶
Dynamic Pipeline Template for the Pipeline API.
This module provides a dynamic implementation of PipelineTemplateBase that can work with any PipelineDAG structure without requiring custom template classes.
- class DynamicPipelineTemplate(dag, config_path, config_resolver=None, step_catalog=None, skip_validation=False, pipeline_parameters=None, **kwargs)[source]¶
Bases:
PipelineTemplateBaseDynamic pipeline template that works with any PipelineDAG.
This template automatically implements the abstract methods of PipelineTemplateBase by using intelligent resolution mechanisms to map DAG nodes to configurations and step builders.
- CONFIG_CLASSES: Dict[str, Type[BasePipelineConfig]] = {}¶
- validate_before_build()[source]¶
Validate the configuration before building the pipeline.
- Returns:
True if validation passes, False otherwise
- Return type: