def buildProtocol(self, addr):
        proto = portforward.ProxyFactory.buildProtocol(self, addr)
        self.clientFactoryInstance = TestableProxyClientFactory()
        # Force the use of this specific instance
        proto.clientProtocolFactory = lambda: self.clientFactoryInstance
        self.protoInstance = proto
        return proto
Create Bernoulli node.
dataset/ETHPy150Open twisted/twisted/twisted/test/test_protocols.py/TestableProxyFactory.buildProtocol--crossover with--dataset/ETHPy150Open bayespy/bayespy/bayespy/inference/vmp/nodes/bernoulli.py/Bernoulli.__init__