Jose Uribe
05/12/2022, 5:42 PMimport dagster as dst
config = {
"resources": {
"slack": ...,
"values": {
"config": ...
}
}
}
@dst.schedule(
cron_schedule="1 4 * * *",
job=my_job,
execution_timezone="UTC",
)
def daily_pipeline_exec():
return config
@dst.repository
def custom_repository():
return [pipeline_exec, daily_pipeline_exec]
While it seems like our schedules are running at the time they should, it looks like the pipelines don't actually execute. Specifically, it looks like we're getting the following error:
Schedule function returned an empty result
Is there anything else i should check to figure out what's causing the pipelines to not start?yuhan
05/12/2022, 7:23 PMyuhan
05/12/2022, 7:36 PMimport dagster as dst
# config = {"resources": {"slack": ..., "values": {"config": ...}}}
config = {"ops": {"my_op": {"config": {"a": 1}}}}
@dst.op(config_schema={"a": int})
def my_op(context):
print(context.op_config)
@dst.job
def my_job():
my_op()
@dst.schedule(
cron_schedule="* * * * *",
job=my_job,
execution_timezone="UTC",
)
def daily_pipeline_exec():
return config
@dst.repository
def custom_repository():
return [my_job, daily_pipeline_exec]
Jose Uribe
05/13/2022, 2:12 PMJose Uribe
05/13/2022, 2:13 PM