peopledoc / mlvtools

Public repository for versioning machine learning data
Other
42 stars 7 forks source link

#DC - 135 Report error if a Jinja template variable is missing #30

Closed sbracaloni closed 5 years ago

sbracaloni commented 5 years ago

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.