is when I start talking about options & the notebook.
👍 1
y
Yijun Tang
07/24/2024, 1:28 PM
Follow up question on this example. Does the subdag have to be imported from another module? Is it possible to keep all my hamilton functions in a single python file, and make some of a subdag?
s
Stefan Krawczyk
07/24/2024, 3:04 PM
yes, you can pass in functions instead of modules to the subdag, so the subdag can be defined in the same module.