(self, node_name)
return inf
Cached node info lookup.
Cached node info lookup.
Cached node info lookup .
def get_node_info(self, node_name):
        """Cached node info lookup."""
        if node_name in self._node_cache:
            return self._node_cache[node_name]
        inf = self.load_node_info(node_name)
        self._node_cache[node_name] = inf
        return inf
def get_node_info ( self , node_name ) : if node_name in self . _node_cache : return self . _node_cache [ node_name ] inf = self . load_node_info ( node_name ) self . _node_cache [ node_name ] = inf return inf