rewrite to dagster as dg
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user