catalog
etl_craft.engine.repository.catalog ¶
What the documentation catalog reads: pipelines, tasks and rules, with their latest runs.
RUN_HISTORY
module-attribute
¶
How many recent runs of each pipeline and task the catalog shows.
LastRun
dataclass
¶
A pipeline's or task's latest run: its status, when, and a task's counts and error.
PipelineRow
dataclass
¶
An active pipeline and its latest run, if it has run.
TaskRow
dataclass
¶
An active task and its latest finished run, if it has one.
RuleRow
dataclass
¶
An active business rule of an active task.
RunSummary
dataclass
¶
One run of a pipeline, for its history.
TaskRunSummary
dataclass
¶
One run of a task, for its history.
seconds
property
¶
How long the latest attempt took, or None while it has not ended.
Consumption
dataclass
¶
An upstream run a downstream run consumed; the tasks are set for a task dependency.
fetch_catalog_pipelines ¶
Return every active pipeline with its latest run.
fetch_catalog_tasks ¶
Return every active task of an active pipeline with its latest finished run.
fetch_catalog_rules ¶
Return every active business rule of an active task.
fetch_documentation_versions ¶
Return each documented task's latest documentation version, by task id.
fetch_pipeline_runs ¶
Return the latest limit runs of every active pipeline, by code, newest first.
fetch_task_runs ¶
Return the latest limit runs of every active task, by task id, newest first.
fetch_consumption ¶
Return every logged consumption by a known downstream run, oldest first.