woom.render.WoomLoader#
- class woom.render.WoomLoader(workflow_dir)[source]#
Jinja loader that searches for user templates
Base template is loadable with a “!” prefix.
- Parameters:
workflow_dir (str) – Workflow directory path
Attributes
if set to False it indicates that the loader cannot provide access to the source of templates.
Methods
get_source(environment, template)Get the template source, filename and reload helper for a template.
Iterates over all templates.
load(environment, name[, globals])Loads a template.