def _get_template_name(self): parser = IappParser(self.content) tmpl = parser.parse_template() return tmpl['name']
def _get_template_name(self): parser = IappParser(self._values['template_content']) tmpl = parser.parse_template() return tmpl['name']
def _parse_full_template(self): '''Parse template and set resulting dictionary as instance attr.''' templ = self.properties[self.FULL_TEMPLATE] self.template_dict = IappParser(templ).parse_template()