src/graph.py
def __save_graph(self, reduced: bool = False):
        '''
        Saves the graph object locally for later reuse
        Args:
            reduced: If the graph being save is the reduced one or not
        '''
        filename = RED_GRAPH if reduced else GRAPH
        with open(filename, 'wb') as output:
            pickle.dump(self.graph, output, pickle.HIGHEST_PROTOCOL)

        Saves the graph object locally for later reuse
        Args:
            reduced: If the graph being save is the reduced one or not
        
Saves the graph object locally for later reuse
Saves the graph object locally for later reuse
def __save_graph(self, reduced: bool = False):
        filename = RED_GRAPH if reduced else GRAPH
        with open(filename, 'wb') as output:
            pickle.dump(self.graph, output, pickle.HIGHEST_PROTOCOL)
def __save_graph ( self , reduced : bool = False ) : filename = RED_GRAPH if reduced else GRAPH with open ( filename , 'wb' ) as output : pickle . dump ( self . graph , output , pickle . HIGHEST_PROTOCOL )
Saves the graph object locally for later reuse
Saves the graph object locally for later reuse
'''
        Saves the graph object locally for later reuse
        Args:
            reduced: If the graph being save is the reduced one or not
        '''
self
reduced
bool
If the graph being save is the reduced one or not
If the graph being save is the reduced one or not