dh_controller.py 文件源码

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

项目:dist_hyperas 作者: osh 项目源码 文件源码
def __init__(self, fn):
        self.cfg = json.load(open("target.json"))
        pprint.pprint(self.cfg)

        self.tasks = {
            "active":{},
            "finished":{}
            }
        self.devices = {}

        # launch proceses and go into event loop
        controller.Controller.__init__(self, self.cfg, dh_worker.Worker, self.cfg["devices"])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号