def disconnect(self):
        """Disconnect port from counterpart. Raises an exception if port is not connected."""
        # FIXME: Implement disconnect
        raise Exception("Can't disconnect port %s.%s with id: %s" % (
            self.owner.name, self.name, self.id))
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actor/actorport.py/Port.disconnect/original