For the get_shortest_paths function it would be convenient if the function returned an empty list if the path was not possible. This would provide a simpler way of handling this situation than the runtime warning message. Suppressing this message seems complex to the new user of python.