

def clientConnectionLost(self, connector, reason):
    if connector.finishedExtraWork:
        self.cache.connectionLostForKey(self.key)
    else:
        self.cache.connectionFailedForKey(self.key, self.lostAsFailReason)
    self.subFactory.clientConnectionLost(connector, reason)

dataset/ETHPy150Open twisted/vertex/vertex/conncache.py _CachingClientFactory.clientConnectionLost/VarMisuse@15/19 `self`->`connector`