My Mai
02/27/2022, 9:07 PM@schedule(
cron_schedule="45 6 * * *",
job=hello_cereal_job,
execution_timezone="US/Central",
)
def good_morning_schedule(context):
date = context.scheduled_execution_time.strftime("%Y-%m-%d")
return {"ops": {"hello_cereal": {"config": {"date": date}}}}
specifically the last line here -- is this returning a schedule definition for an op in the hello_cereal_job? Would this syntax change if are were more than one op in this job?
Thanks!daniel
02/28/2022, 5:06 AMhello_cereal
does in the example, you could configure the two ops separately by having multiple keys in the "ops" dictionary.My Mai
02/28/2022, 6:22 PMSolaris Wang
03/22/2022, 5:33 PMdaniel
03/22/2022, 6:30 PM