create_app.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:foremast 作者: gogoair 项目源码 文件源码
def retrieve_template(self):
        """Sets the instance links with pipeline_configs and then renders template files

        Returns:
            jsondata: A json objects containing templates
        """
        links = self.retrieve_instance_links()
        self.log.debug('Links is \n%s', pformat(links))
        self.pipeline_config['instance_links'].update(links)
        jsondata = get_template(template_file='infrastructure/app_data.json.j2',
                                appinfo=self.appinfo, pipeline_config=self.pipeline_config)
        self.log.debug('jsondata is %s', pformat(jsondata))
        return jsondata
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号