Get the graph of the network. Returns: Network._GraphState
(self)
| 814 | return |
| 815 | |
| 816 | def _get_graph(self) -> "Network._GraphState": |
| 817 | ''' |
| 818 | Get the graph of the network. |
| 819 | |
| 820 | Returns: |
| 821 | Network._GraphState |
| 822 | ''' |
| 823 | return self._get_graph_impl(self._get_network_hash()) |
| 824 | |
| 825 | #TODO: using one LRU cache here can cause the Network object to be leaked, need a way to speed this function w/o using global lru cache. |
| 826 | def _get_graph_impl(self, network_hash: bytes) -> "Network._GraphState": |
no test coverage detected