For all Jinja template usage in this project an exception is raised if an undefined variable is used (print/iterate/other access as specified in Jinja).
It is now impossible to generate a DVC command with a variable used in the docstring but not defined in the docstring configuration. This is done to avoid to silently generate an invalid script.
Improve exception handling
Raise if a template variable is undefined with StrictUndefined behavior
Factorize write template and resolve docstring templating
For all Jinja template usage in this project an exception is raised if an undefined variable is used (print/iterate/other access as specified in Jinja).
It is now impossible to generate a DVC command with a variable used in the docstring but not defined in the docstring configuration. This is done to avoid to silently generate an invalid script.