@classmethod
    def get_cached_instance(cls, id):
        return cls.__dbclass__.__instance_cache__.get(id)
Tests that the Wiener index of the path graph is correctly
dataset/ETHPy150Open evennia/evennia/evennia/utils/idmapper/models.py/SharedMemoryModel.get_cached_instance--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/algorithms/tests/test_wiener.py/TestWienerIndex.test_path_graph