Mitch
08/29/2023, 6:56 PMMarvin
08/29/2023, 6:57 PMprefect config view --show-defaults
.
Now, as for different default parameters, you can set these when you define your flow or task using the default
argument. Each time the flow or task is run, it will use these default parameters unless you specify otherwise.
I hope that helps. Or at least, I hope it doesn't make things worse.Nate
08/29/2023, 6:58 PMMitch
08/29/2023, 6:59 PMschedule = Schedule(
clocks = [
CronClock("35 15 * * 1-5", # m, h, day_of_month, month, day_of_week
start_date = pendulum.now('America/Chicago'),
parameter_defaults = param1
),
CronClock("40 15 * * 1-5", # m, h, day_of_month, month, day_of_week
start_date = pendulum.now('America/Chicago'),
parameter_defaults = param2
),
CronClock("45 15 * * 1-5", # m, h, day_of_month, month, day_of_week
start_date = pendulum.now('America/Chicago'),
parameter_defaults = param3
),
CronClock("55 15 * * 1-5", # m, h, day_of_month, month, day_of_week
start_date = pendulum.now('America/Chicago'),
parameter_defaults = param4
),
]
),
Nate
08/29/2023, 7:01 PMMitch
08/29/2023, 7:01 PM