def when_built(self):
        d = defer.Deferred()
        if self.state == 'BUILT':
            d.callback(self)
        else:
            self._when_built.append(d)
        return d
initialize a Redisgraph instance
dataset/ETHPy150Open meejah/txtorcon/txtorcon/circuit.py/Circuit.when_built--crossover with--dataset/ETHPy150Open kakwa/pygraph_redis/pygraph_redis/directed_graph.py/Directed_graph.__init__