示例#1
0
 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)
示例#2
0
文件: environment.py 项目: junxu/heat
 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)
示例#3
0
 def get_class(self):
     from heat.engine.resources import template_resource
     return template_resource.generate_class(str(self.name),
                                             self.template_name)
示例#4
0
 def get_class(self):
     from heat.engine.resources import template_resource
     return template_resource.generate_class(str(self.name),
                                             self.template_name)