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

Sara

04/25/2022, 9:17 AM
Hi!! Can I run an entire repository without having to run it from dagit?? Using something like: if name == "__main__" result = my_job..execute_in_process()
c

chris

04/25/2022, 2:39 PM
You can simulate this by retrieving every job from the repository and running execute in process:
Copy code
for job_def in repo.get_all_jobs():
    result = job_def.execute_in_process()
    assert result.success
Note that it will be necessary to provide any specific configuration information to execute_in_process for a job that will require it
❤️ 1
s

Sara

04/25/2022, 2:52 PM
Thanks @chris