Edson Henrique
03/28/2023, 6:02 PMdagster_freshness_policy={
"maximum_lag_minutes": 0,
"cron_schedule": "0 5 * * *",
"cron_schedule_timezone": "America/Sao_Paulo"
}
and others with
dagster_freshness_policy={
"maximum_lag_minutes": 60 * (24-5),
"cron_schedule": "0 5 * * *",
"cron_schedule_timezone": "America/Sao_Paulo"
}
and i load then with
dbt_assets_with_freshness_policy = load_assets_from_dbt_project(
project_dir = dbt_base_cfg['project_dir'],
profiles_dir = dbt_base_cfg['profiles_dir'],
key_prefix = ["dbt"]
)
assets_reconciliation = build_asset_reconciliation_sensor(
asset_selection=AssetSelection.assets(*dbt_assets_with_freshness_policy),
name = 'update_assets_with_freshness_policy'
)
but all the assets with the first config dont run by the sensor, only the second one at mid night, why?