

def detach_endpoint(self, endpoint_):
    if (not (self.endpoint == endpoint_)):
        _log.warning('Inport: No such endpoint')
        return
    self.owner.did_disconnect(self)
    self.endpoint = endpoint.Endpoint(self, former_peer_id=self.get_peer()[1])

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actor/actorport.py InPort.detach_endpoint/VarMisuse@57/81 `endpoint_`->`self`