Files
2026-03-05 19:12:33 +00:00

29 lines
732 B
Python

"""Funda jobs."""
from dagster import AssetSelection, RunConfig, define_asset_job, job
from data_platform.ops.check_source_freshness import (
SourceFreshnessConfig,
check_source_freshness,
)
funda_ingestion_job = define_asset_job(
name="funda_ingestion",
selection=AssetSelection.assets(
"raw_funda_search_results",
"raw_funda_listing_details",
"raw_funda_price_history",
),
description="Full Funda ingestion pipeline.",
)
@job(
description="dbt source freshness checks for all raw_funda sources.",
config=RunConfig(
ops={"check_source_freshness": SourceFreshnessConfig(source_name="raw_funda")}
),
)
def funda_raw_quality_job():
check_source_freshness()