def vector(self, network):
        # typical usage for path finding
        try:
            port, cost = self._shortest_paths[network]
            return port
        except __HOLE__:
            return None # or do we need an exception here?
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/topology/linkvector.py/LinkVector.vector