@classmethod
    @defer.inlineCallbacks
    def from_protocol(cls, proto):
        cfg = TorConfig(control=proto)
        yield cfg.post_bootstrap
        defer.returnValue(cfg)
This creates and returns a ready-to-go TorConfig instance from the
dataset/ETHPy150Open meejah/txtorcon/txtorcon/torconfig.py/TorConfig.from_protocol