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

Oren Lederman

06/23/2023, 4:42 PM
Is there a way for a Job to generate RunRequests for another job? I know it’s something you’d usually do with a sensor, but I have a case where doing this from a job would be more convenient. thanks!
dagster bot responded by community 1
🤖 1
a

Adam Ward

06/23/2023, 4:44 PM
Would something like the
execute_in_process
method work? https://docs.dagster.io/concepts/ops-jobs-graphs/job-execution#python-apis
o

Oren Lederman

06/23/2023, 4:46 PM
No, I don’t think so 🙂 I want to generate ~500 job runs of another job and let them run as independent jobs in their own k8s pods. (eventually we are planning to solve this with assets and partitions, but the partitioning in our case is a bit tricky)
😲 1
z

Zach

06/23/2023, 4:47 PM
You can use the graphQL API for this. I don' think you can yield RunRequests directly from a job
o

Oren Lederman

06/23/2023, 4:51 PM
Thanks @Zach!
🎉 1