8.5. General python-jinja Functions
- nettoolkit.j2config.general.get_model_template_version(template_file)[source]
returns the template version/model from template file if defined with variables template_version and set model. return dash (-) if none.
- Parameters:
template_file (str) – jinja template file
- Returns:
with values of template model and version details
- Return type:
tuple