dab: enrich Pipeline model with dependency and cluster metadata #170
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Extend
aco.pipe.base.Pipelineso each pipeline declares its own upstream dependencies and compute requirements as structured metadata — not inferred from function signatures.Why
The current databricks.yml hardcodes
depends_onper task. The generator needs this from the pipeline itself. Function-signature inference is fragile (cross-schema refs liketerminologyare ambiguous). Each pipeline should declare:upstream: list of pipeline names it depends on (for DABdepends_on)cluster_profile: compute tier hint (e.g.default,large,gpu) so the generator can map to cluster configsScope
upstream: list[str] = []andcluster_profile: str = "default"toPipelineupstreamin each of the 13 pipeline modules using the known dependency graphAcceptance
Pipeline.upstreamis populated for all 13 pipelinesfrom aco.pipe import registry; assert all(p.upstream is not None for p in registry.values())