Is there a way for a Job to generate RunRequests f...
# ask-community
o
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
Would something like the
execute_in_process
method work? https://docs.dagster.io/concepts/ops-jobs-graphs/job-execution#python-apis
o
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
You can use the graphQL API for this. I don' think you can yield RunRequests directly from a job
o
Thanks @Zach!
🎉 1