cfme_csv2elastic.py 文件源码

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

项目:cfme-performance 作者: redhat-performance 项目源码 文件源码
def gen_action(self, **kwargs):
        """
        single ES doc that gets consumed inside bulk uploads
        """
        action = {
            "_op_type": _op_type,
            "_index": kwargs['index_name'],
            "_type": kwargs['doc_type'],
            "_id": kwargs['uid'],
            # "@timestamp": kwargs['timestamp'],
            "_source": kwargs['data']
        }
        return action
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号