def as_dict(self):
        return dict(
            dependencies=list(self),
            all=self.all,
            success=self.success,
            failure=self.failure
        )
Represent this dependency as a dict. For json compatibility.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/controller/dependency.py/Dependency.as_dict