rewrite to dagster as dg

This commit is contained in:
2025-07-26 10:03:39 +02:00
parent ded11d9e60
commit 62c25b32c8
5 changed files with 51 additions and 66 deletions

View File

@@ -1,10 +1,9 @@
from jobs import deals_job
from dagster import DefaultScheduleStatus, build_schedule_from_partitioned_job
import dagster as dg
deals_schedule = build_schedule_from_partitioned_job(
deals_schedule = dg.build_schedule_from_partitioned_job(
job=deals_job,
hour_of_day=7,
# execution_timezone="Europe/Amsterdam",
default_status=DefaultScheduleStatus.RUNNING,
default_status=dg.DefaultScheduleStatus.RUNNING,
)