def __init__(self, template_dict, parameter_overrides=None, cwd=None):
self.template_dict = SamBaseProvider.get_template(template_dict, parameter_overrides)<EOL>self.resources = self.template_dict.get("<STR_LIT>", {})<EOL>LOG.debug("<STR_LIT>", len(self.resources))<EOL>self.cwd = cwd<EOL>self.apis = self._extract_apis(self.resources)<EOL>LOG.debug("<STR_LIT>", len(self.apis))<EOL>
Initialize the class with SAM template data. The template_dict (SAM Templated) is assumed
to be valid, normalized and a dictionary. template_dict should be normalized by running any and all
pre-processing before passing to this class.
This class does not perform any syntactic validation of the template.

After the class is initialized, changes to ``template_dict`` will not be reflected in here.
You will need to explicitly update the class with new template, if necessary.

Parameters
----------
template_dict : dict
    SAM Template as a dictionary
cwd : str
    Optional working directory with respect to which we will resolve relative path to Swagger file