def __init__(self, dom, path):
self._dom = dom<EOL>self._providers = {<EOL>name: self._get_provider(spec)<EOL>for name, spec in self._dom.get('<STR_LIT>', {}).items()<EOL>}<EOL>self._path = path<EOL>
You would usually use the
:func:`TemplateRepository.from_url` method instead of
directly using this

Args:
    dom (dict): Specification of the template repository (not confuse
        with xml dom)