normalizer.py 文件源码

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

项目:barometer 作者: opnfv 项目源码 文件源码
def process_notify(self, notification):
        """Process events"""
        loader = Loader(self.events_stream)
        setattr(loader, 'notification', notification)
        setattr(loader, 'system', self.system)
        notifications = loader.get_data()
        for notify_name in notifications:
            logging.debug('Process "{}" notification'.format(notify_name))
            if notifications[notify_name] is not None:
                self.send_data(notifications[notify_name])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号