Does anyone know how to add a job with the decorat...
# dagster-feedback
r
Does anyone know how to add a job with the decorator, when the job is in another python file? Python file I need as a job contain a simple run
if __name__ == "__main__":
d
I believe the simplest thing is to use subprocess.run
r
I see. Thanks for the tip
m
Worth noting that you run into the whole separate threads versus processes thing with that. If feasible, it might be worth moving the contents of main out in to a function and calling that in the entry point block.
👍 1