https://dagster.io/ logo
#ask-community
Title
# ask-community
g

George Pearse

04/19/2023, 9:43 AM
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

Le Yang

04/19/2023, 12:10 PM
What about building the pipeline into a graph and use it to create your 3 jobs?
o

owen

04/19/2023, 5:52 PM
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