Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add convenience function for executing notebooks #573
At least for the case of other preprocessors running before execution, I would suggest running them before calling the function. There's no need to design a new API for running a series of operations in order, because code already defines a series of operations to run in order. ;-)
# Complex do_y(..., pre_function=do_x) # Simple do_x(...) do_y(...)
We may want to provide similar convenience functions for other preprocessors, so they're easy to call from Python code. But I'd take that on a case-by-case basis.
I notice that this branch has a merge conflict, so I'll resolve those.