Is returning schedules from a function a reasonabl...
# ask-community
g
Is returning schedules from a function a reasonable way to deal with wanting the 'same' job to run for different clients? In fact is this possible? Or do the schedule functions need unique names?
I'll want the same 3 pipelines for each model <-> client pair
Or should I be using partitions to achieve this?
l
What about building the pipeline into a graph and use it to create your 3 jobs?
o
hi @George Pearse! the schedules need unique names, but the schedule functions don't 🙂. by default the schedule name is the same as the function name, but you can customize this in the decorator, i.e.
@schedule(name="foo")
. you could also definitely consider using partitions to represent the different clients, but that's not necessary to achieve what you're trying to do
❤️ 1