

def set_status(self, status):
    if (status != self.status):
        logger.info('changing connection status to %r endpoint=%s', status, self.endpoint)
    self.status = status

dataset/ETHPy150Open deliveryhero/lymph/lymph/core/connection.py Connection.set_status/original