def get_class(self, files=None): from heat.engine.resources import template_resource env = self.registry.environment return template_resource.generate_class(str(self.name), self.template_name, env, files=files)
def get_class(self): from heat.engine.resources import template_resource env = self.registry.environment return template_resource.generate_class(str(self.name), self.template_name, env)
def get_class(self): from heat.engine.resources import template_resource return template_resource.generate_class(str(self.name), self.template_name)