def _get_provider(self, spec):
provider_class = _PROVIDERS[spec['<STR_LIT:type>']]<EOL>return provider_class(**spec['<STR_LIT:args>'])<EOL>
Get the provider for the given template spec

Args:
    spec (dict): Template spec

Returns:
    HttpTemplateProvider or FileSystemTemplateProvider:
        A provider instance for that spec