cursus.core.deps.dependency_resolver¶
Unified dependency resolver for intelligent pipeline dependency management.
This module provides the core dependency resolution logic that automatically matches step dependencies with compatible outputs from other steps.
- class UnifiedDependencyResolver(registry, semantic_matcher)[source]¶
Bases:
objectIntelligent dependency resolver using declarative specifications.
- resolve_step_dependencies(consumer_step, available_steps)[source]¶
Resolve dependencies for a single step.
- resolve_with_scoring(consumer_step, available_steps)[source]¶
Resolve dependencies with detailed compatibility scoring.
- exception DependencyResolutionError[source]¶
Bases:
ExceptionRaised when dependencies cannot be resolved.
- create_dependency_resolver(registry=None, semantic_matcher=None)[source]¶
Create a properly configured dependency resolver.
- Parameters:
registry (SpecificationRegistry | None) – Optional specification registry. If None, creates a new one.
semantic_matcher (SemanticMatcher | None) – Optional semantic matcher. If None, creates a new one.
- Returns:
Configured UnifiedDependencyResolver instance
- Return type: