in asfpy/twatcher.py [0:0]
def load_template(self, path, **kwargs):
"""Load template at PATH with **KWARGS.
Note: it is best to use absolute paths, to avoid problems if
the current directory changes.
Returns an instance of ezt.Template()
"""
LOGGER.info(f'Watching: {path}')
t = ezt.Template(path, **kwargs)
bf = kwargs.get('base_format', ezt.FORMAT_RAW)
# Use str(path) in case PATH is a pathlib.Path instance.
self.templates[str(path)] = (t, bf)
self.files.add(path)
return t