Skip to content

Pipeline

domain.enrichment.tags.pipeline

Summary

Loader for the tag enrichment pipeline.

Compiles the packaged tag pipeline.yaml plus patterns/*.yaml registries into a cached dagpipe pipeline, wiring every registry-aware node with its registry and node config.

Classes

Functions

get_tag_pipeline

get_tag_pipeline()

Return the lazily cached tag pipeline.

Builds (once) and reuses the pipeline across calls.

Returns:

Type Description

The cached tag pipeline instance.

load

load() -> Pipeline

Load and wire the tag enrichment pipeline.

Reads the packaged pipeline.yaml, builds the pipeline graph, and installs the merged pattern registry and per-node config onto each node that supports it.

Returns:

Name Type Description
Pipeline Pipeline

The wired dagpipe pipeline.

Raises:

Type Description
FileNotFoundError

If the packaged pipeline.yaml is missing.