

def disconnect(self):
    self.owner.did_disconnect(self)
    endpoints = [self.endpoint]
    self.endpoint = endpoint.Endpoint(endpoints, former_peer_id=self.endpoint.get_peer()[1])
    return endpoints

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actor/actorport.py InPort.disconnect/VarMisuse@35/38 `self`->`endpoints`